diff options
| author | Alan Maguire <alan.maguire@oracle.com> | 2022-04-06 14:43:50 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2022-04-07 21:42:50 +0300 |
| commit | 90db26e6be01cea519d380c59db3491e75b96b7f (patch) | |
| tree | cfbd452d47e6abc4d573cba56346b31081ed9d15 /include/linux/timerqueue.h | |
| parent | a1c9d61b19cbc0b9618c0a0400c304ecb63221d5 (diff) | |
| download | linux-90db26e6be01cea519d380c59db3491e75b96b7f.tar.xz | |
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 <andrii@kernel.org>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1649245431-29956-3-git-send-email-alan.maguire@oracle.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
