* PEBS event monitoring
@ 2012-11-29 6:08 Chulmin Kim
2012-11-29 7:06 ` Namhyung Kim
0 siblings, 1 reply; 3+ messages in thread
From: Chulmin Kim @ 2012-11-29 6:08 UTC (permalink / raw)
To: linux-perf-users
Hi, all.
Sorry for consecutive basic questions.
I am about to use PEBS monitoring of Intel CPU. (westmere)
Let me elaborate pfmon example a bit.
% pfmon --smpl-module=pebs -einstructions_retired --inv=1
--counter-mask=1 --long-smpl-periods=2660000 -uk -- foo
# counts %self %cum code addr
1976 70.67% 70.67% 0x00000000004005e9
710 25.39% 96.07% 0x00000000004005f1
61 2.18% 98.25% 0x00000000004005e0
21 0.75% 99.00% 0x00000000004005ed
10 0.36% 99.36% 0x00000000004005f4
2 0.07% 99.43% 0xffffffff80583110
2 0.07% 99.50% 0xffffffff8024b4f8
As shown in the above,
I want to get the count number attached with address information.
While the example is only for retired instruction event, I want the same
thing for memory event (mem_load_retired) using Perf.
Is there any guide for this issue?
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: PEBS event monitoring
2012-11-29 6:08 PEBS event monitoring Chulmin Kim
@ 2012-11-29 7:06 ` Namhyung Kim
2012-11-29 10:18 ` Chulmin Kim
0 siblings, 1 reply; 3+ messages in thread
From: Namhyung Kim @ 2012-11-29 7:06 UTC (permalink / raw)
To: Chulmin Kim; +Cc: linux-perf-users
Hi Chulmin,
On Thu, 29 Nov 2012 15:08:16 +0900, Chulmin Kim wrote:
> Hi, all.
>
> Sorry for consecutive basic questions.
>
> I am about to use PEBS monitoring of Intel CPU. (westmere)
>
> Let me elaborate pfmon example a bit.
>
> % pfmon --smpl-module=pebs -einstructions_retired --inv=1
> --counter-mask=1 --long-smpl-periods=2660000 -uk -- foo
> # counts %self %cum code addr
> 1976 70.67% 70.67% 0x00000000004005e9
> 710 25.39% 96.07% 0x00000000004005f1
> 61 2.18% 98.25% 0x00000000004005e0
> 21 0.75% 99.00% 0x00000000004005ed
> 10 0.36% 99.36% 0x00000000004005f4
> 2 0.07% 99.43% 0xffffffff80583110
> 2 0.07% 99.50% 0xffffffff8024b4f8
>
> As shown in the above,
> I want to get the count number attached with address information.
>
> While the example is only for retired instruction event, I want the same
> thing for memory event (mem_load_retired) using Perf.
>
> Is there any guide for this issue?
Is this what you're looking for? (FYI, it's not merged yet)
https://lkml.org/lkml/2012/11/21/295
Thanks,
Namhyung
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PEBS event monitoring
2012-11-29 7:06 ` Namhyung Kim
@ 2012-11-29 10:18 ` Chulmin Kim
0 siblings, 0 replies; 3+ messages in thread
From: Chulmin Kim @ 2012-11-29 10:18 UTC (permalink / raw)
To: Namhyung Kim; +Cc: linux-perf-users
2012-11-29 오후 4:06, Namhyung Kim 쓴 글:
> Hi Chulmin,
>
> On Thu, 29 Nov 2012 15:08:16 +0900, Chulmin Kim wrote:
>> Hi, all.
>>
>> Sorry for consecutive basic questions.
>>
>> I am about to use PEBS monitoring of Intel CPU. (westmere)
>>
>> Let me elaborate pfmon example a bit.
>>
>> % pfmon --smpl-module=pebs -einstructions_retired --inv=1
>> --counter-mask=1 --long-smpl-periods=2660000 -uk -- foo
>> # counts %self %cum code addr
>> 1976 70.67% 70.67% 0x00000000004005e9
>> 710 25.39% 96.07% 0x00000000004005f1
>> 61 2.18% 98.25% 0x00000000004005e0
>> 21 0.75% 99.00% 0x00000000004005ed
>> 10 0.36% 99.36% 0x00000000004005f4
>> 2 0.07% 99.43% 0xffffffff80583110
>> 2 0.07% 99.50% 0xffffffff8024b4f8
>>
>> As shown in the above,
>> I want to get the count number attached with address information.
>>
>> While the example is only for retired instruction event, I want the same
>> thing for memory event (mem_load_retired) using Perf.
>>
>> Is there any guide for this issue?
>
> Is this what you're looking for? (FYI, it's not merged yet)
>
> https://lkml.org/lkml/2012/11/21/295
Yeah! It is exactly the one I'm looking for.
Thanks!
>
> Thanks,
> Namhyung
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-29 10:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 6:08 PEBS event monitoring Chulmin Kim
2012-11-29 7:06 ` Namhyung Kim
2012-11-29 10:18 ` Chulmin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).