aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Hodges <hodges.daniel.scott@gmail.com>2020-04-17 06:02:08 -0400
committerGitHub <noreply@github.com>2020-04-17 12:02:08 +0200
commitb14168cf6ad2fd40bbe53b29eebea149dae31105 (patch)
tree49fb89f1426227e12750fc368118a13864da9bb9 /README.md
parent44357ed677f7845ab8d202bfc277f341b63e1fdc (diff)
downloadprometheus_node_collector-b14168cf6ad2fd40bbe53b29eebea149dae31105.tar.bz2
prometheus_node_collector-b14168cf6ad2fd40bbe53b29eebea149dae31105.tar.xz
prometheus_node_collector-b14168cf6ad2fd40bbe53b29eebea149dae31105.zip
Add perf tracepoint collection flag (#1664)
* Add tracepoint collector option for perf collector Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index bed3a90..2860c85 100644
--- a/README.md
+++ b/README.md
@@ -96,6 +96,13 @@ configuration is zero indexed and can also take a stride value; e.g.
96`--collector.perf --collector.perf.cpus=1-10:5` would collect on CPUs 96`--collector.perf --collector.perf.cpus=1-10:5` would collect on CPUs
971, 5, and 10. 971, 5, and 10.
98 98
99The perf collector is also able to collect
100[tracepoint](https://www.kernel.org/doc/html/latest/core-api/tracepoint.html)
101counts when using the `--collector.perf.tracepoint` flag. Tracepoints can be
102found using [`perf list`](http://man7.org/linux/man-pages/man1/perf.1.html) or
103from debugfs. And example usage of this would be
104`--collector.perf.tracepoint="sched:sched_process_exec"`.
105
99 106
100Name | Description | OS 107Name | Description | OS
101---------|-------------|---- 108---------|-------------|----