]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tracing/kprobes: Support "string" type
authorMasami Hiramatsu <mhiramat@redhat.com>
Mon, 5 Jul 2010 18:54:45 +0000 (15:54 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Jul 2010 18:54:45 +0000 (15:54 -0300)
commite09c8614b32915c16f68e039ac7040e602d73e35
tree725c768b1d2fbd569e447e7d4a2044dc0aa7a1d5
parent167a58f10d9cd1bdf6a911aa1eecbdff596de156
tracing/kprobes: Support "string" type

Support string type tracing and printing in kprobe-tracer.

This allows user to trace string data in kernel including __user data. Note
that sometimes __user data may not be accessed if it is paged-out (sorry, but
kprobes operation should be done in atomic, we can not wait for page-in).

Commiter note: Fixed up conflicts with b7e2ece.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20100519195724.2885.18788.stgit@localhost6.localdomain6>
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Documentation/trace/kprobetrace.txt
kernel/trace/trace_kprobe.c