diff options
author | 2016-02-19 19:51:13 -0300 | |
---|---|---|
committer | 2016-02-22 11:48:44 -0300 | |
commit | 58de6ed0a9a32e4b1cf22cc0c46ca16056763f19 (patch) | |
tree | 32f85c8dc8de517ba4fd7dbba063ca026a708a86 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | perf tools: Fix build on older systems (diff) | |
download | wireguard-linux-58de6ed0a9a32e4b1cf22cc0c46ca16056763f19.tar.xz wireguard-linux-58de6ed0a9a32e4b1cf22cc0c46ca16056763f19.zip |
perf tools: Remove duplicate typedef config_term_func_t definition
Older compilers don't like this, for instance, on RHEL6.7:
CC /tmp/build/perf/util/parse-events.o
util/parse-events.c:844: error: redefinition of typedef ‘config_term_func_t’
util/parse-events.c:353: note: previous declaration of ‘config_term_func_t’ was here
So remove the second definition, that should've been just moved in 43d0b97817a4
("perf tools: Enable config and setting names for legacy cache events"), not copied.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Fixes: 43d0b97817a4 ("perf tools: Enable config and setting names for legacy cache events")
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions