perf record: can I specify multiple events and use differentsample-after value

From: Yuanfang Chen
Date: Tue Feb 21 2012 - 20:59:34 EST


Hi all,

I'm trying use perf tool from the linux kernel package to measure
several raw PMU events. In the manpage of perf-record there is an "-l"
option (Scale counter values), which is useful for my case because I
want to know the total counter value, not just sample count. However
it seems the -l is not recognized, is this expected? How can I get a
total count?

Another question is that how can I specify multiple events and use
different sample-after value for each of them? like perf record -c
10000,2000000,2000000 -e r2d4,r03c,r0c0

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