public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: fche@redhat.com (Frank Ch. Eigler)
To: Om Narasimhan <om.turyx@gmail.com>
Cc: systemtap@sourceware.org
Subject: Re: mark probes : usage examples?
Date: Mon, 25 Aug 2008 12:08:00 -0000	[thread overview]
Message-ID: <y0mwsi5xpqq.fsf@ton.toronto.redhat.com> (raw)
In-Reply-To: <48B1F0D9.8070706@gmail.com> (Om Narasimhan's message of "Sun, 24 Aug 2008 16:38:01 -0700")

Om Narasimhan <om.turyx@gmail.com> writes:

> [...]
> But I can't see any markers in my kernel source (which is pretty new)

You can have systemtap list them for you:
    % stap -l 'kernel.mark("*")'

> $ findc | xargs grep -En "STAP_MARK"
> findc is my function for find . -iname "*.[ch]"

Look for "trace_mark" instead.  There are a few in recent kernels, but
they may have been compiled out with some CONFIG_FOO=n flags.

- FChE

      parent reply	other threads:[~2008-08-25 12:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-24 22:46 Om Narasimhan
2008-08-24 23:38 ` Om Narasimhan
2008-08-25  1:39   ` Wenji Huang
2008-08-25 12:08   ` Frank Ch. Eigler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y0mwsi5xpqq.fsf@ton.toronto.redhat.com \
    --to=fche@redhat.com \
    --cc=om.turyx@gmail.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).