diff options
author | Ian Rogers <[email protected]> | 2020-09-24 17:39:03 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-09-28 09:22:39 -0300 |
commit | aa98d8482c8397d4087248e1f50d50078b34326d (patch) | |
tree | 3fdbf54462f75684f255b71e26514e9d2fbf460c /scripts/gdb/linux/tasks.py | |
parent | 40b74c30ffb97c668e9745a098101fecaaec0ea2 (diff) |
perf parse-events: Reduce casts around bp_addr
perf_event_attr bp_addr is a u64. parse-events.y parses it as a u64, but
casts it to a void* and then parse-events.c casts it back to a u64.
Rather than all the casts, change the type of the address to be a u64.
This removes an issue noted in:
https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions