5

Could anyone please tell me how to list current active systemtap probes in the system?

I guess there might be some infomation from the "/proc".

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
brian
  • 265
  • 1
  • 9

2 Answers2

1

sysfs has a registry of the active probes:

cat /sys/kernel/debug/kprobes/list
Brian Cain
  • 14,403
  • 3
  • 50
  • 88
1

Brian is correct, to the extent of kprobes (kernel., kprobe.). There is no run-time catalog of all the other types of probes that may be in use (timers, perf counters, user-space probes, ...). If such a facility would be useful, please consider opening a request for enhancement over at http://sourceware.org/bugzilla

fche
  • 2,641
  • 20
  • 28
  • By the way, we're adding a "--monitor" command line option to systemtap shortly, which will let the person running systemtap interact with the running probes at an ncurses-based text-ui. – fche Nov 25 '15 at 01:29