aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2021-08-16 23:43:00 -0400
committerSteven Rostedt (VMware) <[email protected]>2021-08-18 18:13:52 -0400
commit845cbf3e11acc263ec7a46a89097d88e7e50a9ae (patch)
treea230776bf5c0e8f861dc3221f266c888eb2bedb3 /scripts/gdb/linux/lists.py
parentbc1b973455fd5d84dac4a094da44202f2d8a98ef (diff)
tracing/probes: Use struct_size() instead of defining custom macros
Remove SIZEOF_TRACE_KPROBE() and SIZEOF_TRACE_UPROBE() and use struct_size() as that's what it is made for. No need to have custom macros. Especially since struct_size() has some extra memory checks for correctness. Link: https://lkml.kernel.org/r/[email protected] Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions