aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2016-02-19 19:47:04 -0300
committerArnaldo Carvalho de Melo <[email protected]>2016-02-22 11:48:44 -0300
commit2c97b0d4a757eec7b83acfe3895d94ad4db13827 (patch)
tree8a7cb9064097244ed38afc657b11ff48b09583de /tools/perf/scripts/python
parent91e48b7df15196b8ce01f40455219d3ed7889988 (diff)
perf tools: Fix build on older systems
In RHEL 6.7: CC /tmp/build/perf/util/parse-events.o cc1: warnings being treated as errors util/parse-events.c: In function ‘parse_events_add_cache’: util/parse-events.c:366: error: declaration of ‘error’ shadows a global declaration util/util.h:136: error: shadowed declaration is here Rename it to 'err'. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Fixes: 43d0b97817a4 ("perf tools: Enable config and setting names for legacy cache events") Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions