#data-file #perf #perf-events #linux #parse #tool #part

linux-perf-file-reader

Library for parse perf.data file from Linux perf tool

2 unstable releases

0.2.0 Apr 19, 2020
0.1.0 Mar 9, 2017

#7 in #perf-events

GPL-3.0 license

31KB
855 lines

Rust library for parsing Linux perf tool output (perf.data)

Currently just support of main events are implemented. It was part of other project which hasn't been finished. If you are interested in this library let me know.

Documentation: https://docs.rs/linux-perf-file-reader/latest/linux_perf_file_reader/

Dump of a perf.data from sleep: https://github.com/mikhail-m1/linux-perf-file-reader/blob/master/tests/dump.stdout

To Do

  • Support more events.
  • Check performance on big files.

Contribution

Any feedback is wellcome.

Dependencies

~2.8–9MB
~93K SLoC