aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlan Maguire <[email protected]>2022-04-06 12:43:50 +0100
committerAndrii Nakryiko <[email protected]>2022-04-07 11:42:50 -0700
commit90db26e6be01cea519d380c59db3491e75b96b7f (patch)
treecfbd452d47e6abc4d573cba56346b31081ed9d15 /tools/perf/scripts/python/export-to-sqlite.py
parenta1c9d61b19cbc0b9618c0a0400c304ecb63221d5 (diff)
libbpf: Improve string parsing for uprobe auto-attach
For uprobe auto-attach, the parsing can be simplified for the SEC() name to a single sscanf(); the return value of the sscanf can then be used to distinguish between sections that simply specify "u[ret]probe" (and thus cannot auto-attach), those that specify "u[ret]probe/binary_path:function+offset" etc. 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