This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: mark probes : usage examples?
- From: Om Narasimhan <om dot turyx at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Sun, 24 Aug 2008 16:38:01 -0700
- Subject: Re: mark probes : usage examples?
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=NG+KRAw9jvOklnW3vfMCbvCQB46lWYcR68pEYtjPfgQ=; b=JAkZz15NEJ2OkkbpNSONMkQS/FtVHYE1u5Mxqzj4U80ta8F5Be1OBKhJkfrA/TKVhz KSKec1bT53hot21s3pDxRLKjHyYNkM/BOgG13OaS/RXCq2ErItugRkJCR+JDGgU44JFv 4csMTs9+yteFmmgyOOJDyFZhVpbJTI1aEEq1g=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=HWPgjwh3089fEE3OZMstAlDGhVWKdkXQRMFUgpz0LrDi10JUH9B5gAaLkknuujj0em A9cHJBb5boIhUXTJChou6BWbCPet6yrHZTA9Sl9mhtOD59AgDTAlkglH824pJFUTquY0 qqf7VYkTRyXq8yGEF4B+rLUpnNgHdUQw8TWCg=
- References: <48B1E478.8060103@gmail.com>
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?
Thanks,
Om.