]> git.baikalelectronics.ru Git - kernel.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)
commit7b3b8f900219b2660060f8bb044327e28f873ffb
tree725c768b1d2fbd569e447e7d4a2044dc0aa7a1d5
parent746806e020193196b0c1c995cd5dbb13f0164ba5
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 07a6920.

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