diff options
author | Li Dong <[email protected]> | 2023-06-19 16:20:10 +0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2023-06-20 16:58:05 -0700 |
commit | 5e37ef5c2a5303d41842b8277770064632533318 (patch) | |
tree | ea992a47863dcb44835c87c4a79bfc5a99960a68 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 53fc25b7f557089aff101235152ae4bff15c428a (diff) |
tools: Fix incorrect calculation of object size by sizeof
What we need to calculate is the size of the object, not the size of the
pointer.
Fixed: 51cfe7a3e87e ("perf python: Avoid 2 leak sanitizer issues")
Signed-off-by: Li Dong <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions