summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/usdt.bpf.h
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2022-04-11 16:21:36 +0100
committerAndrii Nakryiko <andrii@kernel.org>2022-04-11 15:32:28 -0700
commit0f8619929c572609f7cdfa366d0424c2c2552e60 (patch)
tree8de688ef38cf3f54f3c818fc4e9889bea13a8f6b /tools/lib/bpf/usdt.bpf.h
parentaa1b02e674fe69acd04624f5bcdef94928bc8695 (diff)
libbpf: Usdt aarch64 arg parsing support
Parsing of USDT arguments is architecture-specific. On aarch64 it is relatively easy since registers used are x[0-31] and sp. Format is slightly different compared to x86_64. Possible forms are: - "size@[reg[,offset]]" for dereferences, e.g. "-8@[sp,76]" and "-4@[sp]"; - "size@reg" for register values, e.g. "-4@x0"; - "size@value" for raw values, e.g. "-8@1". Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/1649690496-1902-2-git-send-email-alan.maguire@oracle.com
Diffstat (limited to 'tools/lib/bpf/usdt.bpf.h')
0 files changed, 0 insertions, 0 deletions