From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: David Smith <dsmith@redhat.com>
Cc: ltt-dev@shafik.org, Systemtap List <systemtap@sources.redhat.com>
Subject: Re: patches to actually use markers?
Date: Mon, 29 Oct 2007 22:05:00 -0000 [thread overview]
Message-ID: <20071029220454.GB4233@Krystal> (raw)
In-Reply-To: <472633E3.1050507@redhat.com>
* David Smith (dsmith@redhat.com) wrote:
> Mathieu,
>
> Now that the markers facility itself has made it in the kernel, do you
> have plans on trying to send patches that actually use markers to lkml?
>
> For systemtap's use, we'd like to get some actual markers in the
> upstream kernel. Off the top of my head, we might start with adding
> markers to system calls (sys_*) that contain the system call's argument(s).
>
Hi David,
Yes, we have something similar in LTTng, we instrument many widely used
system calls to get the detailed arguments.
Do you want to start having a look at my instrumentation patchset ?
Those are the
lttng-instrumentation-*.patch patches available in the following
tarball:
http://ltt.polymtl.ca/lttng/patch-2.6.23-mm1-lttng-0.10-pre8.tar.bz2
The patches that you may find interesting to comment are :
lttng-kernel-trace-thread-flag-*
These patches adds a thread flag for kernel wide syscall trace
activation.
Note that I would gladly accept some help with the
lttng-kernel-trace-thread-flag-ia64.patch
lttng-kernel-trace-thread-flag-s390.patch
lttng-instrumentation-s390.patch
They need to add the 9th bit of thread flag that has to be checked by
a 8 bit limited instruction on these architectures.
lttng-instrumentation-*
Actual markers. It also includes assembly code change to use the
thread flags for syscall_trace.
Some architectures do not have complete architecture specific marker
set complete.
It's a good thing that we start having a discussion about these marker
sites at this point.
Mathieu
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
next prev parent reply other threads:[~2007-10-29 22:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-29 19:26 David Smith
2007-10-29 22:05 ` Mathieu Desnoyers [this message]
2007-10-31 16:29 ` David Smith
2007-10-31 16:58 ` Mathieu Desnoyers
2007-10-31 18:12 ` Mathieu Desnoyers
2007-11-01 3:34 ` Mathieu Desnoyers
2007-11-16 19:13 ` David Smith
2007-11-16 19:24 ` Mathieu Desnoyers
2007-11-16 19:56 ` Frank Ch. Eigler
2007-11-16 20:10 ` Mathieu Desnoyers
2007-11-16 20:27 ` Frank Ch. Eigler
2007-11-16 20:35 ` Mathieu Desnoyers
2007-11-16 20:43 ` Frank Ch. Eigler
2007-11-16 22:03 ` Mathieu Desnoyers
2007-11-16 22:35 ` Frank Ch. Eigler
2007-11-20 16:50 ` Mathieu Desnoyers
2007-11-20 15:22 ` David Smith
2007-11-20 16:22 ` [Ltt-dev] " Mathieu Desnoyers
2007-11-20 20:43 ` David Smith
2007-11-20 18:46 ` Mathieu Desnoyers
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=20071029220454.GB4233@Krystal \
--to=mathieu.desnoyers@polymtl.ca \
--cc=dsmith@redhat.com \
--cc=ltt-dev@shafik.org \
--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).