1 2 3 4 5 6 7
#include <trace-cmd/trace-cmd.h> int main() { tracecmd_open_head("trace.dat", 0); return 0; }