public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v3 0/2] libbpf: usdt arm arg parsing support
@ 2023-03-07 12:04 Puranjay Mohan
  2023-03-07 12:04 ` [PATCH bpf-next v3 1/2] libbpf: refactor parse_usdt_arg() to re-use code Puranjay Mohan
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Puranjay Mohan @ 2023-03-07 12:04 UTC (permalink / raw)
  To: andrii, ast, daniel, martin.lau, song, yhs, bpf, memxor; +Cc: Puranjay Mohan

This series add the support of the ARM architecture to libbpf USDT. This
involves implementing the parse_usdt_arg() function for ARM.

It was seen that the last part of parse_usdt_arg() is repeated for all architectures,
so, the first patch in this series refactors these functions and moved the post
processing to parse_usdt_spec()

Changes in V2[1] to V3:

- Use a tabular approach to find register offsets.
- Add the patch for refactoring parse_usdt_arg()

Puranjay Mohan (2):
  libbpf: refactor parse_usdt_arg() to re-use code
  libbpf: usdt arm arg parsing support

 tools/lib/bpf/usdt.c | 195 ++++++++++++++++++++++++++-----------------
 1 file changed, 118 insertions(+), 77 deletions(-)

-- 
2.39.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-03-08 18:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-07 12:04 [PATCH bpf-next v3 0/2] libbpf: usdt arm arg parsing support Puranjay Mohan
2023-03-07 12:04 ` [PATCH bpf-next v3 1/2] libbpf: refactor parse_usdt_arg() to re-use code Puranjay Mohan
2023-03-07 12:04 ` [PATCH bpf-next v3 2/2] libbpf: usdt arm arg parsing support Puranjay Mohan
2023-03-07 23:41   ` Andrii Nakryiko
2023-03-08  5:01     ` Puranjay Mohan
2023-03-08 17:15       ` Andrii Nakryiko
2023-03-08 18:36         ` Puranjay Mohan
2023-03-07 23:40 ` [PATCH bpf-next v3 0/2] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox