From: Stephen Brennan <stephen.s.brennan@oracle.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: bpf@vger.kernel.org, dwarves@vger.kernel.org,
linux-debuggers@vger.kernel.org,
Stephen Brennan <stephen.s.brennan@oracle.com>,
Alan Maguire <alan.maguire@oracle.com>
Subject: [PATCH dwarves v2 0/4] Emit global variables in BTF
Date: Fri, 20 Sep 2024 01:18:57 -0700 [thread overview]
Message-ID: <20240920081903.13473-1-stephen.s.brennan@oracle.com> (raw)
Hello all,
This is v2 of the series to add global variables to pahole's generated BTF.
Please see v1's cover letter for more justification and background. I've
incorporated Alan's feedback and added a forgotten Cc for the bpf list.
Thanks,
Stephen
v1: https://lore.kernel.org/dwarves/20240912190827.230176-1-stephen.s.brennan@oracle.com/
Stephen Brennan (4):
dutil: return ELF section name when looked up by index
dwarf_loader: add "artificial" and "top_level" variable flags
btf_encoder: cache all ELF section info
btf_encoder: add global_var feature to encode globals
btf_encoder.c | 373 ++++++++++++++++++++++-----------------------
btf_encoder.h | 8 +
dutil.c | 14 +-
dutil.h | 2 +-
dwarf_loader.c | 12 +-
dwarves.h | 3 +
man-pages/pahole.1 | 8 +-
pahole.c | 11 +-
8 files changed, 228 insertions(+), 203 deletions(-)
--
2.43.5
next reply other threads:[~2024-09-20 8:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-20 8:18 Stephen Brennan [this message]
2024-09-20 8:18 ` [PATCH dwarves v2 1/4] dutil: return ELF section name when looked up by index Stephen Brennan
2024-09-20 8:18 ` [PATCH dwarves v2 2/4] dwarf_loader: add "artificial" and "top_level" variable flags Stephen Brennan
2024-09-20 8:19 ` [PATCH dwarves v2 3/4] btf_encoder: cache all ELF section info Stephen Brennan
2024-09-20 8:19 ` [PATCH dwarves v2 4/4] btf_encoder: add global_var feature to encode globals Stephen Brennan
2024-10-01 15:07 ` Arnaldo Carvalho de Melo
2024-10-01 17:13 ` Andrii Nakryiko
2024-10-01 18:52 ` Arnaldo Carvalho de Melo
2024-10-01 22:35 ` Stephen Brennan
2024-10-02 14:14 ` Jiri Olsa
2024-10-02 15:11 ` Alan Maguire
2024-10-03 13:10 ` Jiri Olsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240920081903.13473-1-stephen.s.brennan@oracle.com \
--to=stephen.s.brennan@oracle.com \
--cc=acme@kernel.org \
--cc=alan.maguire@oracle.com \
--cc=bpf@vger.kernel.org \
--cc=dwarves@vger.kernel.org \
--cc=linux-debuggers@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox