Andi Kleen [a...@firstfloor.org] wrote:
| Works for me with your input file:
| 
| % perf list --events-file t.json
| ...
|   pm_cyc                                             [Cycles completed]
|   pm_inst_cmpl                                       [Instructions completed]

Ah, lower case. 

| 
| > With the above events file, I get "invalid event" for 'PM_INST_CMPL:u'
| 
| It works in new style syntax, like
| 
| perf stat --events-file t.json  -e cpu/pm_inst_cmpl/u  ls

Yes, thanks.

Sukadev

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to