Hi Quentin,
On 01/11/25 22:29, Quentin Monnet wrote:
2025-10-30 14:06 UTC-0700 ~ Harshit Mogalapalli harshit.m.mogalapalli@oracle.com
Hi all,
I have tried looking at an issue from the bpftool repository: https://github.com/libbpf/bpftool/issues/121 and this RFC tries to add
This is not longer a RFC :)
Oh, right, I used part of it from my RFC cover letter, sorry about that.
that enhancement.
Summary: Currently when a map creation is successful there is no message on the terminal, printing IDs on successful creation of maps can help notify the user and can be used in CI/CD.
The first patch adds the logic for printing and the second patch adds a simple selftest for the same.
The github issue is not fully solved with these two patches, as there are other bpf objects that might need similar additions. Would appreciate any inputs on this.
What's your question, exactly?
If I understand the issue correctly, the goal is to improve usability and CI support by printing IDs or other relevant information to the terminal upon creation of BPF objects, instead of producing no output as is currently the case. For maps, printing the map ID on creation is particularly helpful.
In addition to maps, I believe it would be beneficial to print the ID when loading a program. I am currently working on implementing this enhancement.
Are there any other BPF objects where displaying additional information (such as IDs or relevant metadata) on the terminal would be useful?
Thank you!
Regards, Harshit
Thanks, Quentin