Re: noob q.: trying to trace syscalls in Jessie... why do I get unselected "events" in the trace?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi -

> I'm trying to trace some syscalls in Debian Jessie [...]
> My motivation is to trace manipulations / forced adjustments of the 
> system timebase: ntpd, ntpdate, date -s  or some such.
> [...]
> What strikes me: even if I enable just six individual "events", in
> the trace buffer (output) I get a waterfall of unrelated events
> being logged - looks like routine process scheduler clockwork. [...]

BTW, if you are able to use systemtap on your box, you can tune a
script to collect & report -only- the information you want:

# stap -e '
probe syscall.{adjtimex,clock_adjtime,clock_settime}
    { println(tid(), " ", ppfunc()," ",$$parms) } 
probe syscall.{adjtimex,clock_adjtime,clock_settime}.return
    { println(tid(), " ", ppfunc()," ",$$return) }
'

- FChE
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux