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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 2 Mar 2017 08:44:10 +0100
From:   Jiri Olsa <jolsa@...hat.com>
To:     Arnaldo Carvalho de Melo <acme@...nel.org>
Cc:     Borislav Petkov <bp@...en8.de>, Jiri Olsa <jolsa@...nel.org>,
        Namhyung Kim <namhyung@...nel.org>,
        Peter Zijlstra <a.p.zijlstra@...llo.nl>,
        Adrian Hunter <adrian.hunter@...el.com>,
        lkml <linux-kernel@...r.kernel.org>,
        Ingo Molnar <mingo@...nel.org>, David Ahern <dsahern@...il.com>
Subject: Re: [PATCHv2] perf tools: Force uncore events to system wide
 monitoring

On Wed, Mar 01, 2017 at 06:36:39PM -0300, Arnaldo Carvalho de Melo wrote:

SNIP

>   [acme@...et linux]$ perf stat usleep 1
> 
>    Performance counter stats for 'usleep 1':
> 
>           2.022049      task-clock:u (msec)       #    0.181 CPUs utilized          
>                  0      context-switches:u        #    0.000 K/sec                  
>                  0      cpu-migrations:u          #    0.000 K/sec                  
>                 48      page-faults:u             #    0.024 M/sec                  
>          2,177,301      cycles:u                  #    1.077 GHz                    
>            245,106      instructions:u            #    0.11  insn per cycle         
>             48,000      branches:u                #   23.738 M/sec                  
>              3,936      branch-misses:u           #    8.20% of all branches        
> 
>        0.011181563 seconds time elapsed
> 
>   [acme@...et linux]$
> 
> ---------------------------------------------
> 
> Seems related to the auto :u done when the user can't do kernel profiling, etc.
> 
> Re-applying your patch, to triple check:
> 
> [acme@...et linux]$ perf stat usleep 1 2>&1 | head -2
> Error:
> You may not have permission to collect system-wide stats.
> [acme@...et linux]$
> 
> ------------------------------------------------
> 
> Waiting for v3 :-)

oh my... I'll check

thanks,
jirka

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ