diff options
author | Tommi Rantala <tommi.t.rantala@nokia.com> | 2017-03-22 15:06:24 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-03-27 15:37:54 -0300 |
commit | 55f77128e7652e537d6c226d5b56821cdb5c22de (patch) | |
tree | 7a66bdfb40a15766eaf910a66da46cd1e38c968f /tools/usb/testusb.c | |
parent | d4b364df5f6540e8d6a38008ce2693ba73a8508a (diff) |
perf utils: Readlink /proc/self/exe to find the perf binary
Simplification: it is easier to open /proc/self/exe than /proc/$pid/exe.
Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20170322130624.21881-7-tommi.t.rantala@nokia.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/usb/testusb.c')
0 files changed, 0 insertions, 0 deletions