[PATCH v12 0/1] Add the latency-collector to tools

From: Viktor Rosendahl
Date: Fri Feb 12 2021 - 08:53:16 EST


Changes since v11
* I added a .gitignore in the tools/tracing/latency directory.

Changes since v10
* Using libtracefs to control ftrace and find /sys/kernel/tracing
* New options to list available tracers, select the tracer and other
ftrace parameters
* A signal handler to restore the ftrace state when the program terminates
* Cleaned up the commit message a bit, removed example output etc.



Viktor Rosendahl (1):
Add the latency-collector to tools

tools/Makefile | 14 +-
tools/tracing/Makefile | 19 +
tools/tracing/latency/.gitignore | 2 +
tools/tracing/latency/Makefile | 24 +
tools/tracing/latency/latency-collector.c | 2108 +++++++++++++++++++++
5 files changed, 2161 insertions(+), 6 deletions(-)
create mode 100644 tools/tracing/Makefile
create mode 100644 tools/tracing/latency/.gitignore
create mode 100644 tools/tracing/latency/Makefile
create mode 100644 tools/tracing/latency/latency-collector.c

--
2.25.1