Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Low-level tools for testing and using perf_events in recent Linux kernels (experimental, see uart/perf_tools for the "official" branch)
C
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
AUTHORS
COPYING
Makefile
README.md
dumper_csv.c
dumper_dump.c
dumpers.h
expect.h
perf_argp.c
perf_argp.h
perf_common.c
perf_common.h
perf_compat.h
perf_file.c
perf_file.h
perf_types.h
perfdump.c
perfgroup.c
perfrecord.c
rawperf.c
util.c
util.h

README.md

UART Perf Tools

The UART Perf Tools project is a project to develop a small set of tools to use the Linux perf_event framework. Most of the tools are built to be used for data acquisition in our research projects.

rawperf

Monitor an application and write performance counter statistics to STDOUT. The tool dumps the statistics on exit or when receiving a SIGUSR1.

We normally use this tool to test performance counter settings and to measure whole-program statistics.

perfgroup

Similar to rawperf, but instead of monitoring a single application, it starts a group of applications and monitors all of the applications.

Just like rawperf, it dumps application statistics on exit and when receiving a SIGUSR1. Unlike rawperf, counter statistics are always printed on STDERR.

Perfgroup automatically pins target applications to OS threads. By default, it pins applications to threads sequentially, starting with thread 0. The '-c'/'--cpu-list' option can be used to specify custom mappings between target applications and OS threads.

perfrecord

Monitor an application and dump the raw perf event ring buffer data to STDOUT or a file.

NOTE: The output file format is not considered stable. There is no guarantee that the output from two different versions of perfrecord will be compatible.

See perf_file.c for a description of the file header. Except for the header, the file is simply a dump of the kernel ring buffer.

perfdump

Process an output file from perfrecord and create a human readable dump of the file.

Something went wrong with that request. Please try again.