Hi, > evt2raw is a simple tool to convert from an event string to a code that can be > passed directly to perf: > > $ perf stat -e `evt2raw inst_retired:any_p` /bin/ls
I am a little confuse here. First, are there examples show what event strings can be given to `evt2raw`? I tried your example on a x86-64 machine (Linux/SPARC has problem with building perf). $ ./evt2raw inst_retired:any_p r5300c0 It gave me a code. Can I map the code back to a symbolic name which `perf list` give to me? Second, `perf list` shows events which can be used in -e. What's the difference between `perf list` outputs and `evt2raw` inputs? Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ perfmon2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
