-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more samplers to subdirs and per-dir man pages
- Loading branch information
Showing
17 changed files
with
152 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ | ||
AM_LDFLAGS = @OVIS_LIB_ABS@ | ||
COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ | ||
$(top_builddir)/ldms/src/core/libldms.la \ | ||
@LDFLAGS_GETTIME@ \ | ||
$(top_builddir)/lib/src/ovis_util/libovis_util.la \ | ||
$(top_builddir)/lib/src/coll/libcoll.la | ||
|
||
# $(top_builddir)/lib/src/ovis_json/libovis_json.la \ | ||
# $(top_builddir)/lib/src/ovis_log/libovis_log.la \ | ||
# -lm -lpthread | ||
|
||
|
||
|
||
libhweventpapi_la_SOURCES = hweventpapi.c | ||
libhweventpapi_la_CFLAGS = $(AM_CFLAGS) | ||
libhweventpapi_la_LDFLAGS = $(AM_LDFLAGS) | ||
libhweventpapi_la_LIBADD = $(COMMON_LIBADD) $(JOBID_LIBFLAGS) $(LTLIBPAPI) $(LTLIBPFM) -lm | ||
pkglib_LTLIBRARIES = libhweventpapi.la | ||
|
||
dist_man7_MANS = Plugin_hweventpapi.man |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
.\" Manpage for Plugin_hweventpapi | ||
.\" Contact ovis-help@ca.sandia.gov to correct errors or typos. | ||
.TH man 7 "18 Feb 2018" "v4" "LDMS Plugin hweventpapi man page" | ||
|
||
.SH NAME | ||
Plugin_hweventpapi - man page for the LDMS hweventpapi plugin | ||
|
||
.SH SYNOPSIS | ||
Within ldmsd_controller or a configuration file: | ||
.br | ||
config name=hweventpapi [ <attr>=<value> ] | ||
|
||
.SH DESCRIPTION | ||
With LDMS (Lightweight Distributed Metric Service), plugins for the ldmsd (ldms daemon) are configured via ldmsd_controller | ||
or a configuration file. The hweventpapi plugin provides energy sampling using RAPL via the PAPI interface for sandybridge. | ||
|
||
WARNING: This sampler is unsupported. | ||
|
||
.SH CONFIGURATION ATTRIBUTE SYNTAX | ||
The hweventpapi plugin uses the sampler_base base class. This man page covers only the configuration attributes, or those with default values, specific to the this plugin; see ldms_sampler_base.man for the attributes of the base class. | ||
|
||
|
||
.TP | ||
.BR config | ||
name=<plugin_name> [schema=<sname>] | ||
.br | ||
configuration line | ||
.RS | ||
.TP | ||
name=<plugin_name> | ||
.br | ||
This MUST be hweventpapi. | ||
.TP | ||
schema=<schema> | ||
.br | ||
Optional schema name. It is intended that the same sampler on different nodes with different metrics have a | ||
different schema. If not specified, will default to `hweventpapi`. | ||
.TP | ||
metafile=<PATH> | ||
.br | ||
The metafile defines what to collect with undocumented "attribute=value" syntax. | ||
The metafile is watched for changes and automatically reloaded. | ||
.RE | ||
|
||
.SH BUGS | ||
This man page is incomplete. | ||
|
||
.SH NOTES | ||
.PP | ||
.IP \[bu] | ||
This sampler is unsupported. | ||
|
||
.SH EXAMPLES | ||
.PP | ||
Within ldmsd_controller or a configuration file: | ||
.nf | ||
load name=jobinfo | ||
config name=jobinfo producer=${HOSTNAME} instance=${HOSTNAME}/jobinfo component_id=${COMPONENT_ID} uid=0 gid=0 perm=0700 | ||
load name=hweventpapi | ||
config name=hweventpapi producer=${HOSTNAME} instance=${HOSTNAME}/hweventpapi job_set=${HOSTNAME}/jobinfo component_id=${COMPONENT_ID} metafile=/tmp/papi.conf uid=0 gid=0 perm=0700 | ||
start name=hweventpapi interval=1000000 offset=0 | ||
.fi | ||
|
||
.PP | ||
Within the metafile configuration: | ||
.nf | ||
this needs to be filled in. | ||
.fi | ||
|
||
.SH SEE ALSO | ||
ldmsd(8), ldms_quickstart(7), ldmsd_controller(8), ldms_sampler_base(7) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ | ||
AM_LDFLAGS = @OVIS_LIB_ABS@ | ||
COMMON_LIBADD = $(top_builddir)/ldms/src/sampler/libsampler_base.la \ | ||
$(top_builddir)/ldms/src/core/libldms.la \ | ||
@LDFLAGS_GETTIME@ \ | ||
$(top_builddir)/lib/src/ovis_util/libovis_util.la \ | ||
$(top_builddir)/lib/src/coll/libcoll.la | ||
|
||
# $(top_builddir)/lib/src/ovis_json/libovis_json.la \ | ||
# $(top_builddir)/lib/src/ovis_log/libovis_log.la \ | ||
# -lm -lpthread | ||
|
||
|
||
librapl_la_SOURCES = rapl.c | ||
librapl_la_CFLAGS = $(AM_CFLAGS) | ||
librapl_la_LDFLAGS = $(AM_LDFLAGS) $(PAPI_LDFLAGS) | ||
librapl_la_LIBADD = $(COMMON_LIBADD) $(LTLIBPAPI) $(LTLIBPFM) -lm | ||
pkglib_LTLIBRARIES = librapl.la | ||
dist_man7_MANS = Plugin_rapl.man |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters