GNU bug report logs -
#42227
BPF in linux-libre
Previous Next
Reported by: Mathieu Othacehe <othacehe <at> gnu.org>
Date: Mon, 6 Jul 2020 13:27:02 UTC
Severity: normal
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Mathieu!
> Thanks for your patience!
No problem. I'm quite busy too.
>> I also added debugfs as a requirement for a bpf system. To use it
>> %bpf-file-systems can be used in place of %base-file-systems in the
>> operating system definition.
>
> Actually, I wonder if we could mount debugfs by default, by adding it to
> %base-file-systems. Any objections?
That seems ok. I did find a few questions about debugfs on old irc logs
and mailing lists. My only concern again is that I would prefer to opt
in to such a thing. debugfs is much simpler than the bpf kernel flags
though, so maybe it will be ok to remove in the future.
> In the meantime I pushed the bcc patch with a few edits. Regarding
> bpftrace, I'd like to avoid the "-DHAVE_BFD_DISASM=OFF" patching, I
> found this ticket which seems related:
> https://github.com/iovisor/bpftrace/issues/1106, but didn't make any
> significant progress yet.
I have tried every which way I can to make HAVE_BFD_DISASM work. A kind
persn from the bpftrace irc directed me to this PR:
https://github.com/iovisor/bpftrace/pull/1095
But I cannot see anything guix does differently that would cause it to
fail. My only feeling is perhaps our configure flags for binutils might
be causing the issue.
As is, however, bpftrace does work even with out HAVE_BFD_DISASM and I
even used it to debug a few processes recently.
Thanks again!
- John
This bug report was last modified 4 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.