Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@polymtl.ca (Mathieu Desnoyers)
Subject: [ltt-dev] LTTng 0.88 adds dynamic instrumentation support (kprobes)
Date: Thu, 29 Jan 2009 18:42:03 -0500	[thread overview]
Message-ID: <20090129234203.GA20044@Krystal> (raw)

Hi,

LTTng 0.88 and LTTV 0.12.9 now support dynamic kernel instrumentation
with kprobes through a simple /mnt/debugfs/ltt/kprobes/ interface.

Usage example :

ltt-armall
echo do_fork > /mnt/debugfs/ltt/kprobes/enable
lttctl -C -w /tmp/trace trace
(so something)
lttctl -D trace
lttv -m textDump -e event.name=kernel.kprobe -t /tmp/trace

Trace set contains 1 traces

kernel.kprobe: 2486.393516120 (/tmp/trace/kernel_2), 0, 0, , , 0, 0x0,
    MODE_UNKNOWN { ip = FFFFFFFF8023CDC0 }
kernel.kprobe: 2489.826739495 (/tmp/trace/kernel_2), 25527, 25527, bash,
    , 25526, 0x0, SYSCALL { ip = FFFFFFFF8023CDC0 [do_fork+0x0/0x3e0] }
kernel.kprobe: 2491.618955019 (/tmp/trace/kernel_6), 25527, 25527, bash,
    , 25526, 0x0, SYSCALL { ip = FFFFFFFF8023CDC0 [do_fork+0x0/0x3e0] }
End trace set

Enable, disable and list operations are availables to manipulate the
active LTTng kprobes.

LTTV 0.12.9 adds support to print the symbol names along with the
kprobes addresses.

Mathieu

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68



                 reply	other threads:[~2009-01-29 23:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090129234203.GA20044@Krystal \
    --to=mathieu.desnoyers@polymtl.ca \
    /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