diff options
author | Daniel Hodges <hodges.daniel.scott@gmail.com> | 2020-04-17 06:02:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 12:02:08 +0200 |
commit | b14168cf6ad2fd40bbe53b29eebea149dae31105 (patch) | |
tree | 49fb89f1426227e12750fc368118a13864da9bb9 /README.md | |
parent | 44357ed677f7845ab8d202bfc277f341b63e1fdc (diff) | |
download | prometheus_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.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |
97 | 1, 5, and 10. | 97 | 1, 5, and 10. |
98 | 98 | ||
99 | The perf collector is also able to collect | ||
100 | [tracepoint](https://www.kernel.org/doc/html/latest/core-api/tracepoint.html) | ||
101 | counts when using the `--collector.perf.tracepoint` flag. Tracepoints can be | ||
102 | found using [`perf list`](http://man7.org/linux/man-pages/man1/perf.1.html) or | ||
103 | from debugfs. And example usage of this would be | ||
104 | `--collector.perf.tracepoint="sched:sched_process_exec"`. | ||
105 | |||
99 | 106 | ||
100 | Name | Description | OS | 107 | Name | Description | OS |
101 | ---------|-------------|---- | 108 | ---------|-------------|---- |