Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717838

Re: [PATCH v2 05/19] perf, tools: Support weak groups

From Andi Kleen <ak@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 05/19] perf, tools: Support weak groups
Date 2017-08-22 23:10 +0200
Message-ID <uhoAV-7V4-3@gated-at.bofh.it> (permalink)
References <udrxo-1lO-5@gated-at.bofh.it> <udrxp-1lO-33@gated-at.bofh.it> <uhcT7-8f0-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> also if I put 'cycles' instead of the l2_rqsts.all_code_rd,
> I get clean open but 'not counted' as result.. I wonder
> there's some counter scheduling issue
> 
> [root@krava perf]# ./perf stat -v -e '{branches,branch-misses,l1d.replacement,l2_lines_in.all,cycles}:W' -a sleep 1
> Using CPUID GenuineIntel-6-3D
> l1d.replacement -> cpu/umask=0x1,period=2000003,event=0x51/
> l2_lines_in.all -> cpu/umask=0x7,period=100003,event=0xf1/
> branches: 0 4004293853 0
> branch-misses: 0 4004293853 0
> l1d.replacement: 0 4004293853 0
> l2_lines_in.all: 0 4004293853 0
> cycles: 0 4004293853 0
> 
>  Performance counter stats for 'system wide':
> 
>      <not counted>      branches                                                      (0.00%)
>      <not counted>      branch-misses                                                 (0.00%)
>      <not counted>      l1d.replacement                                               (0.00%)
>      <not counted>      l2_lines_in.all                                               (0.00%)
>      <not counted>      cycles                                                        (0.00%)
> 
>        1.001088589 seconds time elapsed

Cannot reproduce on my system

Does it work without group or a normal group?

./perf stat -v -e '{branches,branch-misses,l1d.replacement,l2_lines_in.all,cycles}:W'
Using CPUID GenuineIntel-6-3E
l1d.replacement -> cpu/umask=0x1,period=2000003,event=0x51/
l2_lines_in.all -> cpu/umask=0x7,period=100003,event=0xf1/
^Cbranches: 105004611 27393959413 27393959413
branch-misses: 5854172 27393959413 27393959413
l1d.replacement: 13935607 27393959413 27393959413
l2_lines_in.all: 24987238 27393959413 27393959413
cycles: 1259015810 27393959413 27393959413

 Performance counter stats for 'system wide':

       105,004,611      branches                                                    
         5,854,172      branch-misses             #    5.58% of all branches        
        13,935,607      l1d.replacement                                             
        24,987,238      l2_lines_in.all                                             
     1,259,015,810      cycles                                                      

       2.282966609 seconds time elapsed

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 05/19] perf, tools: Support weak groups Andi Kleen <andi@firstfloor.org> - 2017-08-12 01:30 +0200
  Re: [PATCH v2 05/19] perf, tools: Support weak groups Jiri Olsa <jolsa@redhat.com> - 2017-08-22 10:40 +0200
    Re: [PATCH v2 05/19] perf, tools: Support weak groups Andi Kleen <ak@linux.intel.com> - 2017-08-22 23:10 +0200
  Re: [PATCH v2 05/19] perf, tools: Support weak groups Jiri Olsa <jolsa@redhat.com> - 2017-08-22 10:40 +0200
    Re: [PATCH v2 05/19] perf, tools: Support weak groups Andi Kleen <ak@linux.intel.com> - 2017-08-22 23:00 +0200
      Re: [PATCH v2 05/19] perf, tools: Support weak groups Jiri Olsa <jolsa@redhat.com> - 2017-08-23 09:50 +0200

csiph-web