Skip to main content

Tool for analyzing output of perf tool: `$ perf script`

Project description

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 into /etc/ : https://raw.githubusercontent.com/arcolife/perf-script-postprocessor/master/delta_processor.conf)

Step 3: Customize the conf file accordingly.

Optional: Step 4: Refer to docs/WIKI.md or https://github.com/arcolife/perf-script-postprocessor/wiki for detailed usage.

For more, refer to INSTALL guide: https://github.com/arcolife/perf-script-postprocessor/blob/master/INSTALL

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.

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.

Files for perf-script-postprocessor, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size perf_script_postprocessor-0.6-py2.7.egg (7.0 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size perf-script-postprocessor-0.6.tar.gz (21.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page