diff options
| author | Andrii Nakryiko <[email protected]> | 2022-04-07 11:42:51 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-04-07 11:42:51 -0700 |
| commit | 502b0e3dcb326cf38334dad35957b12d9cdcf633 (patch) | |
| tree | 19b8fcc5a57a399ac1b4510a1453a8e8ad29d7cd /tools/perf/scripts/python | |
| parent | 9fc4476a08b6dc61e406c2c0c4e0690512f60e82 (diff) | |
| parent | 1717e248014c33a81d7a1cdc048c6b3bed7bb3f8 (diff) | |
Merge branch 'libbpf: uprobe name-based attach followups'
Alan Maguire says:
====================
Follow-up series to [1] to address some suggestions from Andrii to
improve parsing and make it more robust (patches 1, 2) and to improve
validation of u[ret]probe firing by validating expected argument
and return values (patch 3).
[1] https://lore.kernel.org/bpf/164903521182.13106.12656654142629368774.git-patchwork-notify@kernel.org/
Changes since v1:
- split library name, auto-attach parsing into separate patches (Andrii, patches 1, 2)
- made str_has_sfx() static inline, avoided repeated strlen()s by storing lengths,
used strlen() instead of strnlen() (Andrii, patch 1)
- fixed sscanf() arg to use %li, switched logging to use "prog '%s'" format,
used direct strcmp() on probe_type instead of prefix check (Andrii, patch 2)
- switched auto-attach tests to log parameter/return values to be checked by
user-space side of tests. Needed to add pid filtering to avoid capturing
stray malloc()s (Andrii, patch 3)
====================
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions