diff options
| author | Alan Maguire <[email protected]> | 2022-04-06 12:43:51 +0100 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-04-07 11:42:51 -0700 |
| commit | 1717e248014c33a81d7a1cdc048c6b3bed7bb3f8 (patch) | |
| tree | 19b8fcc5a57a399ac1b4510a1453a8e8ad29d7cd /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 90db26e6be01cea519d380c59db3491e75b96b7f (diff) | |
selftests/bpf: Uprobe tests should verify param/return values
uprobe/uretprobe tests don't do any validation of arguments/return values,
and without this we can't be sure we are attached to the right function,
or that we are indeed attached to a uprobe or uretprobe. To fix this
record argument and return value for auto-attached functions and ensure
these match expectations. Also need to filter by pid to ensure we do
not pick up stray malloc()s since auto-attach traces libc system-wide.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alan Maguire <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions