freebsd-src/usr.sbin/pmc
Matt Macy f992dd4b5c pmc: convert native to jsonl and track TSC value of samples
- add '-j' options to filter to enable converting native pmc
  log format to json lines format to enable the use of scripts
  and external tooling

% pmc filter -j pmc.log pmc.jsonl

- Record the tsc value in sampling interrupts as opposed to
  recording nanotime when the sample is copied to a global log
  in hardclock - potentially many milliseconds later.

- At initialize record the tsc_freq and the time of day to give
  us an offset for translating the tsc values in callchain records
2018-06-07 02:03:22 +00:00
..
cmd_pmc.h hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
cmd_pmc_filter.cc pmc: convert native to jsonl and track TSC value of samples 2018-06-07 02:03:22 +00:00
cmd_pmc_list.c pmc: add list-events command 2018-06-01 00:45:59 +00:00
cmd_pmc_stat.c hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
cmd_pmc_summary.cc hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
Makefile pmc: convert native to jsonl and track TSC value of samples 2018-06-07 02:03:22 +00:00
pmc.c hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
pmc_util.c