Closed ZhangYet closed 1 month ago
There are a lot of format issues as well. Please check
- leading 'tab' instead of 'space'.
- some places having trailing spaces. Please fix.
Sorry for the format issues. I kept switching development env between office and home, sometimes the fix was forget to push(like the space between {
and cpu
). I have replace all 8 space with tabs now.
Maybe we should provide a tool like checkpatch.el
to do the format work?
There are a lot of format issues as well. Please check
- leading 'tab' instead of 'space'.
- some places having trailing spaces. Please fix.
Sorry for the format issues. I kept switching development env between office and home, sometimes the fix was forget to push(like the space between
{
andcpu
). I have replace all 8 space with tabs now.Maybe we should provide a tool like
checkpatch.el
to do the format work?
Yes, it would be good if we have a checkpatch tool for all codes under libbpf-tools directory.
Since tools/hardirqs and tools/softirqs supports a
--cpu
option, it's reasonable to support a same option in libbpf version.