Is there a setting I can use to make sure probefunc is not cut off at 127 characters? Thanks, Joel --- Mac hacker with a performance bent http://www.linkedin.com/in/joelreymont
The probefunc length is currently hardcoded. You''d have to rebuild the kernel to change it. James M On Nov 27, 2009, at 4:51 PM, Joel Reymont wrote:> Is there a setting I can use to make sure probefunc is not cut off at 127 characters? > > Thanks, Joel > > --- > Mac hacker with a performance bent > http://www.linkedin.com/in/joelreymont > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org
Hi Joel,> Is there a setting I can use to make sure probefunc is not cut off at 127 characters?As James said, this is a hardcoded limit so there''s not an awful lot you can do about it. Sorry. Sometime we should really revisit the current static allocations. FYI, there is an open bug which covers this: 6258412 DTrace needs to support longer function names Jon.
Why does this limitation affect user land probes, too? Olga On Mon, Nov 30, 2009 at 12:08 PM, Jon Haslam <Jonathan.Haslam at sun.com> wrote:> Hi Joel, > >> Is there a setting I can use to make sure probefunc is not cut off at 127 >> characters? > > As James said, this is a hardcoded limit so there''s not an awful > lot you can do about it. Sorry. > > Sometime we should really revisit the current static allocations. > FYI, there is an open bug which covers this: > > 6258412 DTrace needs to support longer function names > > Jon. > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org >-- , _ _ , { \/`o;====- Olga Kryzhanovska -====;o`\/ } .----''-/`-/ olga.kryzhanovska at gmail.com \-`\-''----. `''-..-| / http://twitter.com/fleyta \ |-..-''` /\/\ Solaris/BSD//C/C++ programmer /\/\ `--` `--`
> Why does this limitation affect user land probes, too?The limitations on sizes of the components in a probe specification exist within the framework. Yes, providers are responsible for creating probes (and therefore their names) but they are all constrained by the limits. These limits are defined in <sys/dtrace.h>: #define DTRACE_PROVNAMELEN 64 #define DTRACE_MODNAMELEN 64 #define DTRACE_FUNCNAMELEN 128 #define DTRACE_NAMELEN 64 Jon.> Olga > > On Mon, Nov 30, 2009 at 12:08 PM, Jon Haslam<Jonathan.Haslam at sun.com> wrote: > >> Hi Joel, >> >> >>> Is there a setting I can use to make sure probefunc is not cut off at 127 >>> characters? >>> >> As James said, this is a hardcoded limit so there''s not an awful >> lot you can do about it. Sorry. >> >> Sometime we should really revisit the current static allocations. >> FYI, there is an open bug which covers this: >> >> 6258412 DTrace needs to support longer function names >> >> Jon. >> >> _______________________________________________ >> dtrace-discuss mailing list >> dtrace-discuss at opensolaris.org >> >> > > >