freebsd-src/usr.sbin/pmc
Matt Macy bfb46e2ba8 pmc: add filter command
pmc filter allows the user to select event types, threads, and processes from
a sample.

% pmcstat -S unhalted_core_cycles -S llc-misses -S -S  resource_stalls.any -O pmc.log
% pmc filter -e llc-misses pmc.log pmc-llc-misses.log
% pmc filter -e unhalted_core_cycles -t 100339  pmc.log pmc-core-cycles.log
etc...
% pmcstat -R pmc-core-cycles.log -G pmc-core-cycles.stacks
2018-06-04 04:59:48 +00:00
..
cmd_pmc.h pmc: add filter command 2018-06-04 04:59:48 +00:00
cmd_pmc_filter.c pmc: add filter command 2018-06-04 04:59:48 +00:00
cmd_pmc_list.c pmc: add list-events command 2018-06-01 00:45:59 +00:00
cmd_pmc_stat.c pmc stat: fix format strings for 32-bit 2018-05-30 22:03:02 +00:00
Makefile pmc: add filter command 2018-06-04 04:59:48 +00:00
pmc.c pmc: add filter command 2018-06-04 04:59:48 +00:00
pmc_util.c