Om Narasimhan wrote:
Could anybody point me to some examples for
probe kernel.mark("XX")
Can't find any in the systemtap examples or tapsets.
I would like to know how to identify kernel markers in the kernel
source code as well.
Thanks,
Om.
I think I got the answers.
From man pages,
probe kernel.mark("getuid")
But I can't see any markers in my kernel source (which is pretty new)
$ pwd
/space/src/linux-exp
$ head -n 5 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 27
EXTRAVERSION = -rc3
NAME = Rotary Wombat
$ findc | xargs grep -En "STAP_MARK"
$
findc is my function for find . -iname "*.[ch]"
Does it mean that we don't have any markers in kernel source so far?