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.has...@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@opensolaris.org




_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to