summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-event.c
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2014-02-24 22:21:29 -0800
committerMike Turquette <mturquette@linaro.org>2014-02-24 22:21:29 -0800
commit10b7cdc0084c27a312e59e80420c6aac70c64753 (patch)
treeee891d6236bcd8dc988624839760aaa1846cf906 /tools/perf/util/probe-event.c
parent00efcb1c8e1c3c5e5d3ce6f0682d66402911a84f (diff)
parent60480994c70981d0336aadb3f46b052977d3d19f (diff)
downloadtalos-op-linux-10b7cdc0084c27a312e59e80420c6aac70c64753.tar.gz
talos-op-linux-10b7cdc0084c27a312e59e80420c6aac70c64753.zip
Merge branch 'clocks/fixes/drivers' of git://linuxtv.org/pinchartl/fbdev into clk-fixes
Diffstat (limited to 'tools/perf/util/probe-event.c')
-rw-r--r--tools/perf/util/probe-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index a8a9b6cd93a8..d8b048c20cde 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -336,8 +336,8 @@ static int add_exec_to_probe_trace_events(struct probe_trace_event *tevs,
return ret;
for (i = 0; i < ntevs && ret >= 0; i++) {
+ /* point.address is the addres of point.symbol + point.offset */
offset = tevs[i].point.address - stext;
- offset += tevs[i].point.offset;
tevs[i].point.offset = 0;
zfree(&tevs[i].point.symbol);
ret = e_snprintf(buf, 32, "0x%lx", offset);
OpenPOWER on IntegriCloud