diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/probe-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index 6c7e538c9b8b..f7bacbb98865 100644 --- a/tools/perf/util/probe-event.c +++ b/tools/perf/util/probe-event.c | |||
@@ -1866,7 +1866,7 @@ static int convert_to_perf_probe_point(struct probe_trace_point *tp, | |||
1866 | if (tp->symbol) { | 1866 | if (tp->symbol) { |
1867 | pp->function = strdup(tp->symbol); | 1867 | pp->function = strdup(tp->symbol); |
1868 | pp->offset = tp->offset; | 1868 | pp->offset = tp->offset; |
1869 | } else if (!tp->module && !is_kprobe) { | 1869 | } else { |
1870 | ret = e_snprintf(buf, 128, "0x%" PRIx64, (u64)tp->address); | 1870 | ret = e_snprintf(buf, 128, "0x%" PRIx64, (u64)tp->address); |
1871 | if (ret < 0) | 1871 | if (ret < 0) |
1872 | return ret; | 1872 | return ret; |