How to list current active system sensors

Can someone tell me how to list the current active system sensors in the system?

I think there may be some information from "/ proc".

+4
source share
2 answers

Brian is right, to the best of kprobes (kernel., Kprobe.). There is no runtime catalog of all other types of probes that can be used (timers, perforation counters, user space probes, ...). If such an object is useful, consider opening a promotion request at http://sourceware.org/bugzilla

+1
source

sysfs has a registry of active probes:

 cat /sys/kernel/debug/kprobes/list 
0
source

Source: https://habr.com/ru/post/1441686/