public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Martin Hunt <hunt@redhat.com>
To: "Frank Ch. Eigler" <fche@redhat.com>
Cc: David A Sperry <David_A_Sperry@raytheon.com>,
	        "systemtap@sources.redhat.com"
	<systemtap@sources.redhat.com>
Subject: Re: Another Newbie question about measuring time in a sys call
Date: Wed, 08 Feb 2006 17:38:00 -0000	[thread overview]
Message-ID: <1139420346.3948.5.camel@monkey2> (raw)
In-Reply-To: <y0mpslxom2p.fsf@ton.toronto.redhat.com>

On Wed, 2006-02-08 at 11:24 -0500, Frank Ch. Eigler wrote:
> David_A_Sperry wrote:
> 
> > [...]
> > > AFAIK, top does not perform any file creation.  [...]
> > 
> > I was lazy and just modified the prinf line.  [...]
> > syscall creat count 6772 avg 37 min 32 max 103
> > [...]
> 
> A glance at src/tapset/syscalls.stp explains the problem.  There, the
> "sys_open" function is probed and mislabeled "creat".

One of the many problems with the old syscall tapset. Lots of functions
are probed under multiple names. The tapset is currently being rewritten
and is not to be trusted. I'll send out an email when the rewrite is
complete, along with some sample code to show how to do profiling and
tracing using it.

Martin


  reply	other threads:[~2006-02-08 17:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08  1:29 David A Sperry
2006-02-08  1:52 ` Li Guanglei
2006-02-08  5:56 ` Li Guanglei
2006-02-08 12:32 ` Frank Ch. Eigler
2006-02-08 13:46   ` David A Sperry
2006-02-08 15:18     ` Frank Ch. Eigler
2006-02-08 15:54       ` David A Sperry
2006-02-08 16:24         ` Frank Ch. Eigler
2006-02-08 17:38           ` Martin Hunt [this message]
2006-02-08 21:14   ` Martin Hunt

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=1139420346.3948.5.camel@monkey2 \
    --to=hunt@redhat.com \
    --cc=David_A_Sperry@raytheon.com \
    --cc=fche@redhat.com \
    --cc=systemtap@sources.redhat.com \
    /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).