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 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> 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 I'm trying use perf tool from the linux kernel package to measure several r= aw 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 to= tal counter value, not just sample count. However it seems the -l is not re= cognized, is this expected? How can I get a total count? Another question is that how can I specify multiple events and use differen= t sample-after value for each of them? like perf record -c 10000,2000000,20= 00000 -e r2d4,r03c,r0c0 thank you