Tool for analyzing output of perf tool: `$ perf script`
Project description
# perf-script-postprocessor
[![Build Status](https://travis-ci.org/arcolife/perf-script-postprocessor.svg?branch=master)](https://travis-ci.org/arcolife/perf-script-postprocessor)
This calculates delta (difference of timestamps from various entry/exit points from events recorded) from the trace output, which is produced by using the perf script command, which in turn, uses the perf.data file produced by using the perf record command, a set of utilities,which is provided under the package [perf-tools](https://github.com/brendangregg/perf-tools)
## INSTALLATION
Step 1: Install from pip: $ pip2 install perf-script-postprocessor
- Step 2: Copy [this conf file](https://raw.githubusercontent.com/arcolife/perf-script-postprocessor/master/delta_processor.conf)
into /etc/
Step 3: Customize the conf file accordingly.
Optional: Step 4: Refer to docs/WIKI.md or [this page](https://github.com/arcolife/perf-script-postprocessor/wiki) for detailed usage.
For more, refer to INSTALL guide.
## TESTS
$ ./tests/run-tests.sh
## USAGE
`$ perf_script_processor -p <dir path> -t <test type>`
Example: `$ perf_script_processor -p . -t 0`
-p (defaults to /tmp/pp_results) is where one of the following exists:
- perf.data – binary file. If you’re running this tool on perf.data, make sure
you’re running it from the system where the binary was generated
raw_perf – plain text output when perf script is run on folder containing perf.data
perf_data.csv – generated in the process of generating results
-t (defaults to 0) is either 0 or 1. It’s the type of test that generated perf.data.
0: Native
1: Threads
NOTE: The stats at the end of run, will be stored in delta_output.log in folder where you’ve generate the output.
## FAQs and Script exection process
Refer to docs/WIKI.md or [this page](https://github.com/arcolife/perf-script-postprocessor/wiki).
## LICENSE
GPL V3
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file perf-script-postprocessor-0.7.2.tar.gz
.
File metadata
- Download URL: perf-script-postprocessor-0.7.2.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830722fd5030e6a24888b5fd0112cf6bf0f9a8acce9fb5b1e366e38175445259 |
|
MD5 | 971382a5eb6dd3b59ddf80df3019e2f6 |
|
BLAKE2b-256 | 76711b2c288418b140138598b3bd24fdac503720bace5f9369964a1b4fdaede5 |
File details
Details for the file perf_script_postprocessor-0.7.2-py2.7.egg
.
File metadata
- Download URL: perf_script_postprocessor-0.7.2-py2.7.egg
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af58948bd91f4d45c66c2a0612db4410c3629caa32500a818159bbe88e381eb5 |
|
MD5 | 431deca9a3dd558c8dcb04b81c7dede5 |
|
BLAKE2b-256 | 409884ae0b1f2d18b2e7f3a5fab823aa7eeb417dc29e5b6ffa5abd8e95f90b74 |
File details
Details for the file perf_script_postprocessor-0.7.2-py2-none-any.whl
.
File metadata
- Download URL: perf_script_postprocessor-0.7.2-py2-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e25e3f28fcb49c9859f9a333b90826fdd94428b1065eba5ebbb3ce796bbd6a0 |
|
MD5 | 790dbaf0a2022efb741092e4c85654a5 |
|
BLAKE2b-256 | 90def33ba07282915ce6a9a5d1e237810f6caa82975a96a4a528a6abb5252f54 |