OSDN Git Service

perf tools: Add missing struct definition in probe_event.h
authorWang Nan <wangnan0@huawei.com>
Tue, 15 Nov 2016 04:05:46 +0000 (04:05 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 25 Nov 2016 14:25:46 +0000 (11:25 -0300)
commitd6be16719e0b65f586ae4a301f02407422e6b5dd
tree15d3ec50db2dfbeb361cc9cd592b04d588c59686
parent3dbe46c5245f61328797738c6a0a6cd4bf921f61
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>
tools/perf/util/probe-event.h