Hello, I am trying to play with a few examples from "perf_examples" using sampling mode on a given cmd/task, and it is always giving an error message when configured with parameter "-i: inherit across fork"...
For instance: 1) task_smpl.c $ ./task_smpl -i date cycles:u:freq=100 period=100 freq=1 task_smpl: cannot attach event cycles:u:freq=100: Invalid argument 2) bts_smpl.c $ ./bts_smpl -i date bts_smpl: cannot mmap buffer: Invalid argument My system kernel/perf version is: $ ~/libpfm4/perf_examples$ uname -r 5.14.0-1005-oem Any thoughts? thanks vinicius _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel