Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.development.system > #399

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

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From cyfmxc <tabloid.adroit@gmail.com>
Newsgroups comp.os.linux.development.system
Subject perf record: can I specify multiple events and use different sample-after value
Date Tue, 21 Feb 2012 16:37:31 -0800 (PST)
Organization http://groups.google.com
Lines 11
Message-ID <7942772.7.1329871051908.JavaMail.geo-discussion-forums@vbmv7> (permalink)
NNTP-Posting-Host 68.82.250.225
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1329871054 31253 127.0.0.1 (22 Feb 2012 00:37:34 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Wed, 22 Feb 2012 00:37:34 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=68.82.250.225; posting-account=oUavhAoAAAB3JOo9dBkvmjitaSrpADrV
User-Agent G2/1.0
X-Google-Web-Client true
X-Received-Bytes 1608
Xref x330-a1.tempe.blueboxinc.net comp.os.linux.development.system:399

Show key headers only | View raw


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

Back to comp.os.linux.development.system | Previous | Next | Find similar


Thread

perf record: can I specify multiple events and use different sample-after value cyfmxc <tabloid.adroit@gmail.com> - 2012-02-21 16:37 -0800

csiph-web