diff options
author | 2021-08-16 23:43:00 -0400 | |
---|---|---|
committer | 2021-08-18 18:13:52 -0400 | |
commit | 845cbf3e11acc263ec7a46a89097d88e7e50a9ae (patch) | |
tree | a230776bf5c0e8f861dc3221f266c888eb2bedb3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tracing/probes: Allow for dot delimiter as well as slash for system names (diff) | |
download | wireguard-linux-845cbf3e11acc263ec7a46a89097d88e7e50a9ae.tar.xz wireguard-linux-845cbf3e11acc263ec7a46a89097d88e7e50a9ae.zip |
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/20210817035027.795000217@goodmis.org
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions