This is still a beta / tech-nerd preview release. Please don't run it in busy production environments yet.
The main noteworthy change is that now there's a -o
option to switch xcapture-bpf to always-on CSV output mode.
./xcapture-bpf -o /some/dirname
This will make xcapture log the 1HZ samples into hourly threads_*
files in the output directory and if the stack capture is enabled (its enabled by default in -o mode), it will write any newly seen stack traces into a stacks_*
file.
Unlike the hourly files with 1HZ thread sample history, a single stack file is created at xcapture startup (with a startup timestamp in it) and it appends newly seen, not yet written stacks into the end of the single file.
This is likely the final release of the BCC-based beta / developer preview. I've hit too many limitations sooner than I had thought and will now focus on writing a proper final version of this tool (that I can be proud of!) using libbpf and a better frontend. Use the current v2 release for testing and exploring what's possible!
Full Changelog: v2.0.2...v2.0.3