lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 27 Feb 2012 07:42:07 -0700 From: David Ahern <dsahern@...il.com> To: Yuanfang Chen <cyfmxc@...il.com> CC: linux-kernel@...r.kernel.org, Namhyung Kim <namhyung@...il.com> Subject: Re: perf record: can I specify multiple events and use different sample-after value On 2/27/12 6:58 AM, Yuanfang Chen wrote: > On Mon, Feb 27, 2012 at 8:56 AM, Yuanfang Chen<cyfmxc@...il.com> wrote: >> >> On Feb 26, 2012 10:23 PM, "David Ahern"<dsahern@...il.com> wrote: >>> >>> On 2/24/12 3:41 PM, Yuanfang Chen wrote: >>>> >>>> I think I'll settle with perf record for now. Still, unlike trace >>>> event, sample count is not meaningful for PMU event. Output of "perf >>>> script" does not include period value. One line of code will do the >>>> work. >>>> >>>> lude 17342 750118.202915: raw 0x3c: 86754 ffffffff8115f6b9 >>>> __mem_cgroup_commit_char >>>> lude 17342 750118.203025: raw 0x3c: 1027634 ffffffff811344b9 >>>> __mem_cgroup_commit_char >>>> >>>> 86754, 1027634 is the period value. But I'm not sure which is the PMU >>>> value, is it just period value, or period x sample after. If so, what >>>> is the sample after value? >>> >>> >>> You lost me. You modified perf-script to print the period? >>> >>> Are you asking for the PMU counter value for 0x3c? > > yes perf-record does not get counter values when samples are genereated. > >>> >>> What perf commands are you running? > > perf script > (with no options) record command? I don't see what the 86754 and 1902764 values are in your example output above. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists