lkml.org 
[lkml]   [2018]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] trace_uprobe: Display correct offset in uprobe_events
On Sat,  6 Jan 2018 11:12:46 +0530
Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> wrote:

> Recently, how the pointers being printed with %p has been changed
> by commit ad67b74d2469 ("printk: hash addresses printed with %p").
> This is causing a regression while showing offset in the
> uprobe_events file. Instead of %p, use %px to display offset.
>
> Before patch:
>
> # perf probe -vv -x /tmp/a.out main
> Opening /sys/kernel/debug/tracing//uprobe_events write=1
> Writing event: p:probe_a/main /tmp/a.out:0x58c
>
> # cat /sys/kernel/debug/tracing/uprobe_events
> p:probe_a/main /tmp/a.out:0x0000000049a0f352
>
> After patch:
>
> # cat /sys/kernel/debug/tracing/uprobe_events
> p:probe_a/main /tmp/a.out:0x000000000000058c
>

Thanks, I'll pull this into my tree.

-- Steve

\
 
 \ /
  Last update: 2018-01-19 17:05    [W:0.156 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site