aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-02-14 16:19:56 -0300
committerArnaldo Carvalho de Melo <[email protected]>2017-02-14 16:19:56 -0300
commita0b2f5af4c99d3da7ce9bc2b3b4641c8ffd22615 (patch)
tree6d3d62f2610583f6f7c5147cfa57edb5a0f8b019 /scripts/gdb/linux/proc.py
parent35670dd0c9b421f1bb6ca69f389aa6b657b57d49 (diff)
perf tools: Be consistent on the type of map->symbols[] interator
In a few cases we were using 'enum map_type' and that triggered this warning when using clang: util/session.c:1923:16: error: comparison of constant 2 with expression of type 'enum map_type' is always true [-Werror,-Wtautological-constant-out-of-range-compare] for (i = 0; i < MAP__NR_TYPES; ++i) { Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions