Skip to content

libbpf: usdt arm arg parsing support

Puranjay Mohan bpf 3 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesApplied 2/2
  2. v21 patch 3 repliesSuperseded
  3. v11 patch 0 repliesSuperseded

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2libbpf: refactor parse_usdt_arg() to re-use codetools/lib/bpf/usdt.c+42 -810 repliesApplied
2/2libbpf: usdt arm arg parsing supporttools/lib/bpf/usdt.c+80 -04 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH bpf-next v3 0/2] libbpf: usdt arm arg parsing support

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(-)
Signature · 1 line
2.39.1