[root@nntvtune39 pr_stat_fd]# strace -ff -tt -o t ./pause_test 100000 10000 tools/perf/perf stat -vvvv -D -1 -c -x ';' -I 1000 -p 23733 -e cycles,instructions
main: STARTED
main: sent 1
Using CPUID GenuineIntel-6-5E
intel_pt default config: tsc,mtc,mtc_period=3,psb_period=3,pt,branch
------------------------------------------------------------
perf_event_attr:
  size                             112
  sample_type                      IDENTIFIER
  read_format                      TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
  disabled                         1
  inherit                          1
  exclude_guest                    1
------------------------------------------------------------
sys_perf_event_open: pid 23733  cpu -1  group_fd -1  flags 0x8 = 8
------------------------------------------------------------
perf_event_attr:
  size                             112
  config                           0x1
  sample_type                      IDENTIFIER
  read_format                      TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
  disabled                         1
  inherit                          1
  exclude_guest                    1
------------------------------------------------------------
sys_perf_event_open: pid 23733  cpu -1  group_fd -1  flags 0x8 = 9
perf_async_cmd_handler: cmd 1
perf_async_cmd_handler: events resumed
main: ack 2
perf_async_timer_handler: timer_expired: 1
cycles: 0: 19660159 18867541 18867541
cycles: 19660159 18867541 18867541
instructions: 0: 32674096 18867541 18867541
instructions: 32674096 18867541 18867541
     1.001538635;19660159;;cycles;18867541;100.00;;;;
     1.001538635;32674096;;instructions;18867541;100.00;1.66;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 38349002 42200351 42200351
cycles: 18688843 23332810 23332810
instructions: 0: 65317200 42200351 42200351
instructions: 32643104 23332810 23332810
     2.001317340;18688843;;cycles;21100175;100.00;;;;
     2.001317340;32643104;;instructions;21100175;100.00;1.70;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 58857871 58649713 58649713
cycles: 20508869 16449362 16449362
instructions: 0: 97848571 58649713 58649713
instructions: 32531371 16449362 16449362
     3.001578037;20508869;;cycles;19549904;100.00;;;;
     3.001578037;32531371;;instructions;19549904;100.00;1.66;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 79332228 72708775 72708775
cycles: 20474357 14059062 14059062
instructions: 0: 130442478 72708775 72708775
instructions: 32593907 14059062 14059062
     4.001360831;20474357;;cycles;18177193;100.00;;;;
     4.001360831;32593907;;instructions;18177193;100.00;1.64;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 99655496 86549331 86549331
cycles: 20323268 13840556 13840556
instructions: 0: 162793535 86549331 86549331
instructions: 32351057 13840556 13840556
     5.180046096;20323268;;cycles;17309866;100.00;;;;
     5.180046096;32351057;;instructions;17309866;100.00;1.62;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 120063490 98323707 98323707
cycles: 20407994 11774376 11774376
instructions: 0: 195262218 98323707 98323707
instructions: 32468683 11774376 11774376
     6.000897013;20407994;;cycles;16387284;100.00;;;;
     6.000897013;32468683;;instructions;16387284;100.00;1.62;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 140563605 112374062 112374062
cycles: 20500115 14050355 14050355
instructions: 0: 227822378 112374062 112374062
instructions: 32560160 14050355 14050355
     7.000878610;20500115;;cycles;16053437;100.00;;;;
     7.000878610;32560160;;instructions;16053437;100.00;1.62;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 160959488 126248310 126248310
cycles: 20395883 13874248 13874248
instructions: 0: 260308462 126248310 126248310
instructions: 32486084 13874248 13874248
     8.000975279;20395883;;cycles;15781038;100.00;;;;
     8.000975279;32486084;;instructions;15781038;100.00;1.61;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 181337595 140161187 140161187
cycles: 20378107 13912877 13912877
instructions: 0: 292797407 140161187 140161187
instructions: 32488945 13912877 13912877
     9.000890549;20378107;;cycles;15573465;100.00;;;;
     9.000890549;32488945;;instructions;15573465;100.00;1.61;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 201704295 154042611 154042611
cycles: 20366700 13881424 13881424
instructions: 0: 325347401 154042611 154042611
instructions: 32549994 13881424 13881424
    10.000382022;20366700;main: sent 0
;cyclesmain: ack 2
;15404261;100.00;;;;
    10.000382022;32549994;;instructions;15404261;100.00;1.61;insn per cycle
perf_async_cmd_handler: cmd 0
perf_async_cmd_handler: events paused
main: sent 1
perf_async_cmd_handler: cmd 1
main: ack 2
perf_async_cmd_handler: events resumed
perf_async_timer_handler: timer_expired: 1
cycles: 0: 223187285 164343148 164343148
cycles: 21482990 10300537 10300537
instructions: 0: 357825839 164343148 164343148
instructions: 32478438 10300537 10300537
    21.002726057;21482990;;cycles;14940286;100.00;;;;
    21.002726057;32478438;;instructions;14940286;100.00;1.60;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 243857029 175396685 175396685
cycles: 20669744 11053537 11053537
instructions: 0: 390362501 175396685 175396685
instructions: 32536662 11053537 11053537
    22.002730708;20669744;;cycles;14616390;100.00;;;;
    22.002730708;32536662;;instructions;14616390;100.00;1.60;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 263999287 188386211 188386211
cycles: 20142258 12989526 12989526
instructions: 0: 422854505 188386211 188386211
instructions: 32492004 12989526 12989526
    23.002729512;20142258;;cycles;14491247;100.00;;;;
    23.002729512;32492004;;instructions;14491247;100.00;1.60;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 285308317 198833129 198833129
cycles: 21309030 10446918 10446918
instructions: 0: 455330311 198833129 198833129
instructions: 32475806 10446918 10446918
    24.002749681;21309030;;cycles;14202366;100.00;;;;
    24.002749681;32475806;;instructions;14202366;100.00;1.59;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 315917592 219719754 219719754
cycles: 30609275 20886625 20886625
instructions: 0: 504166226 219719754 219719754
instructions: 48835915 20886625 20886625
    25.180045074;30609275;;cycles;14647983;100.00;;;;
    25.180045074;48835915;;instructions;14647983;100.00;2.32;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 326047884 227003855 227003855
cycles: 10130292 7284101 7284101
instructions: 0: 520453923 227003855 227003855
instructions: 16287697 7284101 7284101
    26.002698578;10130292;;cycles;14187740;100.00;;;;
    26.002698578;16287697;;instructions;14187740;100.00;0.80;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 345329516 245027707 245027707
cycles: 19281632 18023852 18023852
instructions: 0: 552966210 245027707 245027707
instructions: 32512287 18023852 18023852
    27.002984137;19281632;;cycles;14413394;100.00;;;;
    27.002984137;32512287;;instructions;14413394;100.00;1.60;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 365697662 259045224 259045224
cycles: 20368146 14017517 14017517
instructions: 0: 585541505 259045224 259045224
instructions: 32575295 14017517 14017517
    28.003029243;20368146;;cycles;14391401;100.00;;;;
    28.003029243;32575295;;instructions;14391401;100.00;1.60;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 386189006 272905605 272905605
cycles: 20491344 13860381 13860381
instructions: 0: 618049724 272905605 272905605
instructions: 32508219 13860381 13860381
    29.002783283;20491344;;cycles;14363452;100.00;;;;
    29.002783283;32508219;;instructions;14363452;100.00;1.60;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 404783031 296108535 296108535
main: sent 0
cycles: 18594025 23202930 23202930
main: ack 2
instructions: 0: 650601414 296108535 296108535
instructions: 32551690 23202930 23202930
    30.002914171;18594025;;cycles;14805426;100.00;;;;
    30.002914171;32551690;;instructions;14805426;100.00;1.61;insn per cycle
perf_async_cmd_handler: cmd 0
perf_async_cmd_handler: events paused
main: sent 1
main: ack 2
perf_async_cmd_handler: cmd 1
perf_async_cmd_handler: events resumed
perf_async_timer_handler: timer_expired: 1
cycles: 0: 425072014 310010736 310010736
cycles: 20288983 13902201 13902201
instructions: 0: 683081668 310010736 310010736
instructions: 32480254 13902201 13902201
    41.005293765;20288983;;cycles;14762416;100.00;;;;
    41.005293765;32480254;;instructions;14762416;100.00;1.60;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 443692176 333247256 333247256
cycles: 18620162 23236520 23236520
instructions: 0: 715617105 333247256 333247256
instructions: 32535437 23236520 23236520
    42.003988295;18620162;;cycles;15147602;100.00;;;;
    42.003988295;32535437;;instructions;15147602;100.00;1.61;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 464608482 343793716 343793716
cycles: 20916306 10546460 10546460
instructions: 0: 748087958 343793716 343793716
instructions: 32470853 10546460 10546460
    43.005652259;20916306;;cycles;14947552;100.00;;;;
    43.005652259;32470853;;instructions;14947552;100.00;1.61;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 485151068 357692037 357692037
cycles: 20542586 13898321 13898321
instructions: 0: 780602136 357692037 357692037
instructions: 32514178 13898321 13898321
    44.004214475;20542586;;cycles;14903834;100.00;;;;
    44.004214475;32514178;;instructions;14903834;100.00;1.61;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 503783765 380954234 380954234
cycles: 18632697 23262197 23262197
instructions: 0: 813083458 380954234 380954234
instructions: 32481322 23262197 23262197
    45.183807543;18632697;;cycles;15238169;100.00;;;;
    45.183807543;32481322;;instructions;15238169;100.00;1.61;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 513946152 393003705 393003705
cycles: 10162387 12049471 12049471
instructions: 0: 830558850 393510267 393510267
instructions: 17475392 12556033 12556033
    46.005564555;10162387;;cycles;15115527;100.00;;;;
    46.005564555;17475392;;instructions;15135010;100.00;0.88;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 534150108 405978819 405978819
cycles: 20203956 12975114 12975114
instructions: 0: 861986658 405978819 405978819
instructions: 31427808 12468552 12468552
    47.005025461;20203956;;cycles;15036252;100.00;;;;
    47.005025461;31427808;;instructions;15036252;100.00;1.59;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 555050484 419903504 419903504
cycles: 20900376 13924685 13924685
instructions: 0: 894533193 419903504 419903504
instructions: 32546535 13924685 13924685
    48.004801172;20900376;;cycles;14996553;100.00;;;;
    48.004801172;32546535;;instructions;14996553;100.00;1.64;insn per cycle
perf_async_timer_handler: timer_expired: 1
cycles: 0: 575595191 433971338 433971338
cycles: 20544707 14067834 14067834
instructions: 0: 927150919 433971338 433971338
instructions: 32617726 14067834 14067834
    49.005318721;20544707;;cycles;14964528;100.00;;;;
    49.005318721;32617726;;instructions;14964528;100.00;1.64;insn per cycle
main: sent 0
perf_async_timer_handler: timer_expired: 1
main: ack 2
cycles: 0: 607181887 450393888 450393888
cycles: 31586696 16422550 16422550
instructions: 0: 975872525 450393888 450393888
instructions: 48721606 16422550 16422550
    50.183439652;31586696;;cycles;15013129;100.00;;;;
    50.183439652;48721606;;instructions;15013129;100.00;2.41;insn per cycle
perf_async_cmd_handler: cmd 0
perf_async_cmd_handler: events paused
^Cperf_async_signal_handler: signo 2, code 128
perf_async_cmd_handler: cmd 0
cycles: 0: 607181887 450393888 450393888
cycles: 0 0 0
instructions: 0: 975872525 450393888 450393888
instructions: 0 0 0
main: FINISHED
