From: mjw@redhat.com (Mark Wielaard)
Subject: [ltt-dev] LTTng-UST vs SystemTap userspace tracing benchmarks
Date: Tue, 15 Feb 2011 18:03:05 +0100 [thread overview]
Message-ID: <1297789385.3224.46.camel@springer.wildebeest.org> (raw)
In-Reply-To: <4D5AA164.1050607@polymtl.ca>
On Tue, 2011-02-15 at 10:53 -0500, Julien Desfossez wrote:
> The purpose of this benchmark is to compare the performance for
> userspace tracing of SystemTap and LTTng-UST. The goal is to show that
> the two tools are complementary since SystemTap doesn't seem to be able
> to handle tracing applications with a high throughput of trace data.
Yeah, the more "natural" way for someone using SystemTap would be to
write probe handlers that can check some logic conditions about the
probe environment and/or keep statistics instead of just dumping output
whenever a probe is being hit.
> UST 0.11, hooking on user-space Tracepoints
Can UST user-space tracepoints hook onto systemtap sdt user space
markers? That would be ideal since then programs need to be instrumented
only once. That is why the systemtap sdt markers are source compatible
with the dtrace macros, so you can just reuse any that are already
there. gdb is also adding support for using them now, so that you can
also just put a "normal" breakpoint on them and use them in the context
of a gdb debugging session.
> SystemTap 1.2-5 (from Debian package), hooking on DTrace user-space
> static markup.
> * SystemTap probe (stap testutrace.stp -F) :
> probe process("./.libs/tracepoint_benchmark").mark("single_trace") {
> printf("%d : %s\n", gettimeofday_ns(), $arg1);
> }
Does it matter what you put in the printf statement? The formatting and
getting the date stamp might impact performance of course. If the goal
is just to see how many probes are being hit, then you could also use a
simple counter instead of a printf statement in the probe handler.
Thanks,
Mark
next prev parent reply other threads:[~2011-02-15 17:03 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 15:53 Julien Desfossez
2011-02-15 16:25 ` William Cohen
2011-02-17 16:20 ` Julien Desfossez
2011-02-15 16:26 ` Frank Ch. Eigler
2011-02-15 16:54 ` Mathieu Desnoyers
2011-02-15 17:39 ` Frank Ch. Eigler
2011-02-15 22:25 ` Mathieu Desnoyers
2011-02-15 17:00 ` Stefan Hajnoczi
2011-02-15 17:04 ` Mathieu Desnoyers
2011-02-16 10:56 ` Mark Wielaard
2011-02-16 18:50 ` Roland McGrath
2011-02-16 20:00 ` [ltt-dev] Porting "jump labels" to userspace (was: Re: LTTng-UST vs SystemTap userspace tracing benchmarks) Mathieu Desnoyers
2011-02-16 20:04 ` Roland McGrath
2011-02-16 20:17 ` [ltt-dev] Porting "jump labels" to userspace David Daney
2011-02-16 20:39 ` Mathieu Desnoyers
2011-02-16 20:45 ` Thomas Gleixner
2011-02-16 21:42 ` Peter Zijlstra
2011-02-17 13:58 ` Ingo Molnar
2011-02-16 20:14 ` David Daney
2011-02-16 20:36 ` Mathieu Desnoyers
2011-02-16 20:55 ` [ltt-dev] LTTng-UST vs SystemTap userspace tracing benchmarks Stefan Hajnoczi
2011-02-16 21:05 ` Mathieu Desnoyers
2011-02-16 21:16 ` Mark Wielaard
2011-02-15 17:03 ` Mark Wielaard [this message]
2011-02-16 15:30 ` Tom Tromey
2011-02-16 18:19 ` Roland McGrath
2011-02-17 17:33 ` Julien Desfossez
2011-02-17 19:11 ` Josh Stone
2011-02-17 19:33 ` Julien Desfossez
2011-02-17 19:47 ` Josh Stone
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=1297789385.3224.46.camel@springer.wildebeest.org \
--to=mjw@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