This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: probe timer.profile registration error
Wenhua Zhang <shiziwen@gmail.com> writes:
> [...]
> Pass 5: starting run.
> ERROR: probe timer.profile registration error (rc -16)
> [...]
The timer.profile probe, in many kernel versions, is a
single-concurrent-user-only facility. If there is already another
systemtap script or some other kernel user of the profiling timer
interrupt, then subsequent ones get the -EBUSY (-16) error.
You may be able to use the perf.sw.cpu_clock probe instead, which
has similar semantics but is shareable. Replace the line
probe timer.profile {
with
probe perf.sw.cpu_clock !, timer.profile {
and your script should start to work better.
- FChE