dtrace-utils icon indicating copy to clipboard operation
dtrace-utils copied to clipboard

DTrace-utils contains the DTrace port to Linux

Results 45 dtrace-utils issues
Sort by recently updated
recently updated
newest added

The markup version of the readme that is displayed for the main page in this repo contains the following bad link: Status code [404:NotFound] - Link: https://github.com/oracle/dtrace-linux-kernel/v2/5.8.1 It looks like...

# dtrace -s /dev/stdin n[0] = 1; } EOT dtrace: script '/dev/stdin' matched 1 probe dtrace: error on enabled probe ID 1 (ID 1: dtrace:::BEGIN): invalid address (0x0) in action...

Consider the following: dtrace -n BEGIN'{ x = "a|b|c|"; trace(x); trace(strtok(x, "|")); trace(strtok(NULL, "|")); trace(strtok(NULL, "|")); trace(strtok(NULL, "|")); exit(0); }' dtrace: description 'BEGIN' matched 1 probe dtrace: error on enabled...

We allocate space for dynamics variables, such as TLS variables, statically. Users have control over the space with the DTrace option dynvarsize. The size should be picked based on the...

For thread-local variables and associative arrays, the documentation says that unassigned variables are considered to be initialized to zero. Storage is not allocated until nonzero values are assigned. Storage is...

Consider /* * Determine the amount of data to be copied. It is * the lesser of the size of the identifier and the * size of the data being...

The strjoin() implementation is currently simply adding the length of the two component strings and storing that as length for the result. This can cause the stored length to be...

The result string of a substr() subroutine call can have the wrong length stored in its prefix. This can cause issues with other string operations that the substr() provides arguments...

When dt_consume_one() encounters an unrecognized hdr->type -- for example, PERF_RECORD_LOST -- it returns DTRACE_WORKSTATUS_ERROR without running dt_set_errno(dtp, errno). Then, dt_consume_cpu() passes DTRACE_WORKSTATUS_ERROR up the call stack through dtrace_consume() and dtrace_work()....

A script like x = 1; @ = quantize(x); @ = quantize(x); [....97 similar lines...] @ = quantize(x); fails, printing about 16 Mbyte of BPF verifier log and ending in:...