Re: perf script and raw events?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

> What is that raw event? Where do you find the encodings for raw events?

  You can try libpfm4.

$ git clone git://perfmon2.git.sourceforge.net/gitroot/perfmon2/libpfm4

  `showevtinfo` in libpfm4/examples/ lists all events supported by the
CPU, including raw events.

  `evt2raw` in libpfm4/perf_examples converts event names into raw event
recognized by perf.

Regards,
chenwj

-- 
Wei-Ren Chen (ééä)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux