Messages in this thread | | | Date | Fri, 8 Jun 2018 13:47:55 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] perf script: Show hw-cache events |
| |
Em Fri, Jun 08, 2018 at 04:32:28PM +0530, Seeteena Thoufeek escreveu: > perf script fails to report hardware cache events (PERF_TYPE_HW_CACHE) > where as perf report shows the samples. Fix it. Ex, > > # perf record -e L1-dcache-loads ./a.out > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.008 MB perf.data (11 samples)] > > Before patch: > # perf script | wc -l > 0 > After patch: > # perf script | wc -l > 11
Thanks, tested and applied.
- Arnaldo
| |