Xiaozhou Liu
Xiaozhou Liu
If a struct S is used as key to a BPF_HISTOGRAM, table.py expects the second member of S is holding the slot. But when S is converted to python from...
A quick fix https://github.com/boat0/bcc/commit/9e81daada749598422866a401e45199dd47b7ae1 by skipping the possible padding member in tables.py. I am just wondering if it is better not to generate the padding in the first place.
I guess your versions of installed libbcc and tools do not match.
I see the problem: the libbcc installed is 0.6 while the tools you are actually using is 0.8+. Most likely you ran the tools from a git repo which is...
Fixed by #2236 . Thanks!
> Thanks I was wondering this morning where the ctype structures went but didn’t have a lot of time to investigate further Al https://github.com/iovisor/bcc/commit/3156303439960602667b2e1dc05aebfe43ad0066
Turns out that std::ifstream does not support wildcards. So format_file.fail() in TracepointFormatParser::parse() will always be true in this case.