bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Typical way to handle missing macros in vmlinux.h
@ 2021-04-28 19:13 Grant Seltzer Richman
  2021-04-28 21:15 ` Andrii Nakryiko
  0 siblings, 1 reply; 10+ messages in thread
From: Grant Seltzer Richman @ 2021-04-28 19:13 UTC (permalink / raw)
  To: bpf

Hi all,

I'm working on enabling CO:RE in a project I work on, tracee, and am
running into the dilemma of missing macros that we previously were
able to import from their various header files. I understand that
macros don't make their way into BTF and therefore the generated
vmlinux.h won't have them. However I can't import the various header
files because of multiple-definition issues.

Do people typically redefine each of these macros for their project?
If so is there anything I should be careful of, such as architectural
differences. Does anyone have creative ideas, even if not developed
fully yet that I can possibly contribute to libbpf?

Thanks so much,
Grant Seltzer

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

end of thread, other threads:[~2021-05-04 22:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 19:13 Typical way to handle missing macros in vmlinux.h Grant Seltzer Richman
2021-04-28 21:15 ` Andrii Nakryiko
2021-05-03 18:32   ` Grant Seltzer Richman
2021-05-03 18:43     ` Andrii Nakryiko
2021-05-03 20:20       ` Grant Seltzer Richman
2021-05-03 21:21         ` Andrii Nakryiko
2021-05-04 15:31           ` Grant Seltzer Richman
2021-05-04 16:24             ` Yonghong Song
2021-05-04 16:57               ` Grant Seltzer Richman
2021-05-04 22:31             ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).