When I want to generate performance reports using perf-stat and perf-report from the Linux perf toolkit, I run:
$ perf record -o my.perf.data myCmd $ perf report -i my.perf.data
and
$ perf stat myCmd
But that means that I run 'myCmd' a second time, which takes a few minutes. Instead, I was hoping:
$ perf stat -i my.perf.data
But unlike most tools in the primary set, I don't see the -i option for perf-stat. Is there another tool for this or a way to get initial reporting to create similar information for perf-stat?
source share