• Masami Hiramatsu's avatar
    tracing/kprobes: Support "string" type · e09c8614
    Masami Hiramatsu authored
    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 b7e2ecef.
    
    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: default avatarMasami Hiramatsu <mhiramat@redhat.com>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    e09c8614
trace_kprobe.c 45.3 KB