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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1516761799-25350-1-git-send-email-ufo19890607@gmail.com>
Date:   Wed, 24 Jan 2018 03:43:19 +0100
From:   ufo19890607 <ufo19890607@...il.com>
To:     peterz@...radead.org, mingo@...hat.com,
        alexander.shishkin@...ux.intel.com, jolsa@...nel.org,
        dsahern@...il.com, namhyung@...nel.org, milian.wolff@...b.com,
        arnaldo.melo@...il.com, yuzhoujian@...ichuxing.com,
        adrian.hunter@...el.com, wangnan0@...wei.com
Cc:     linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
        acme@...hat.com
Subject: perf stat: Add support to print counts for fixed times

From: yuzhoujian <yuzhoujian@...ichuxing.com>

Hi Jirka
And how can you control the output for perf stat, if I don't want to use the 
"sleep" workload, like some user programs. I want to check the "cycles"
for this program when it just begin to run.

root@...e10:/home$ gcc -g -o malloc malloc.c
root@...e10:/home$ ./perf stat -e cycles -I 1000 --times-print 3 ./malloc &
[1] 32586
#           time             counts unit events
     1.000094153      2,914,162,979      cycles                                                      
     2.000323667      3,062,832,799      cycles                                                      
     3.000443807      3,063,146,609      cycles

Best wishes

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ