Skip to content

Commit

Permalink
pmlogconf: move perfevent metrics for atop into own file
Browse files Browse the repository at this point in the history
Lukas came across a pmlogger warning on a machine without the
perfevent PMDA installed - need to make the atop configs for
this configured at runtime for enabling by zeroconf.
  • Loading branch information
natoscott committed Feb 26, 2019
1 parent 2d90115 commit eefcff8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pmlogconf/tools/atop
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ probe kernel.uname.sysname ~ Linux ? include : exclude
kernel.percpu.cpu.guest

hinv.cpu.clock
perfevent.hwcounters.INSTRUCTIONS_RETIRED.value
perfevent.hwcounters.UNHALTED_REFERENCE_CYCLES.value

mem.vmstat.pgscan_direct_dma
mem.vmstat.pgscan_direct_dma32
Expand Down
6 changes: 6 additions & 0 deletions src/pmlogconf/tools/atop-perfevent
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pmlogconf-setup 2.0
ident perfevent metrics sampled by the atop command
probe perfevent.active values ? include : exclude

perfevent.hwcounters.INSTRUCTIONS_RETIRED.value
perfevent.hwcounters.UNHALTED_REFERENCE_CYCLES.value
1 change: 1 addition & 0 deletions src/pmlogconf/tools/localdefs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FILES = \
atop-summary \
atop-httpstats \
atop-nfsclient \
atop-perfevent \
atop-hotproc \
atop-gpustats \
atop-infiniband \
Expand Down

0 comments on commit eefcff8

Please sign in to comment.