diff options
author | Wang Nan <wangnan0@huawei.com> | 2016-11-14 23:05:46 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-11-25 09:25:46 -0500 |
commit | d6be16719e0b65f586ae4a301f02407422e6b5dd (patch) | |
tree | 15d3ec50db2dfbeb361cc9cd592b04d588c59686 | |
parent | 3dbe46c5245f61328797738c6a0a6cd4bf921f61 (diff) |
perf tools: Add missing struct definition in probe_event.h
Commit 0b3c2264ae30 ("perf symbols: Fix kallsyms perf test on ppc64le")
refers struct symbol in probe_event.h, but forgets to include its
definition. Gcc will complain about it when that definition is not
added, by sheer luck, by some other header included before
probe_event.h.
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: He Kuang <hekuang@huawei.com>
Cc: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/20161115040617.69788-4-wangnan0@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/probe-event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/probe-event.h b/tools/perf/util/probe-event.h index 8091d15113f7..5d4e94061402 100644 --- a/tools/perf/util/probe-event.h +++ b/tools/perf/util/probe-event.h | |||
@@ -18,6 +18,8 @@ struct probe_conf { | |||
18 | extern struct probe_conf probe_conf; | 18 | extern struct probe_conf probe_conf; |
19 | extern bool probe_event_dry_run; | 19 | extern bool probe_event_dry_run; |
20 | 20 | ||
21 | struct symbol; | ||
22 | |||
21 | /* kprobe-tracer and uprobe-tracer tracing point */ | 23 | /* kprobe-tracer and uprobe-tracer tracing point */ |
22 | struct probe_trace_point { | 24 | struct probe_trace_point { |
23 | char *realname; /* function real name (if needed) */ | 25 | char *realname; /* function real name (if needed) */ |