aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2022-01-25 23:19:30 +0900
committerSteven Rostedt (Google) <[email protected]>2022-01-27 19:15:45 -0500
commit58c5724ec2cdd72b22107ec5de00d90cc4797796 (patch)
tree1db63eab3b10ae98723dfd912024a4846ae02ff4 /tools/perf/scripts/python/event_analyzing_sample.py
parente629e7b525a179e29d53463d992bdee759c950fb (diff)
tracing: Avoid -Warray-bounds warning for __rel_loc macro
Since -Warray-bounds checks the destination size from the type of given pointer, __assign_rel_str() macro gets warned because it passes the pointer to the 'u32' field instead of 'trace_event_raw_*' data structure. Pass the data address calculated from the 'trace_event_raw_*' instead of 'u32' __rel_loc field. Link: https://lkml.kernel.org/r/[email protected] Cc: Stephen Rothwell <[email protected]> Cc: Kees Cook <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> [ This did not fix the warning, but is still a nice clean up ] Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions