Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf header: Don't assume there's no attr info if no sample ids is pr…
…ovided This primarily fixes perf-report, which didn't report the correct type of event if perf-record was called to record one event different from 'cycles': $ perf record -e instructions true [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.007 MB perf.data (~295 samples) ] $ perf report | head -n1 # Events: 7 cycles LPU-Reference: <[email protected]> Signed-off-by: Franck Bui-Huu <[email protected]>
- Loading branch information