Andi Kleen
5497628576
perf stat: Fix transaction lenght metrics
...
The transaction length metrics in perf stat -T broke recently.
It would not match the metric correctly and always print K/sec.
This was caused by a incorrect update of the cycles_in_tx statistics.
Update the correct variable.
Also the check for zero division was reversed, which resulted in K/sec
being printed for no transactions. Fix this also up.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1438039491-22091-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-07-28 12:05:04 -03:00
..
2015-07-05 22:59:05 -03:00
2015-05-13 14:06:42 -04:00
2013-12-27 15:17:00 -03:00
2015-06-19 16:39:21 -03:00
2015-06-19 16:39:21 -03:00
2015-07-15 11:57:28 -03:00
2015-06-23 18:28:37 -03:00
2015-07-09 16:29:56 -03:00
2015-05-29 12:43:43 -03:00
2015-02-27 15:52:33 -03:00
2015-05-14 10:05:22 -03:00
2015-02-18 17:16:17 +01:00
2015-05-05 18:13:24 -03:00
2015-05-15 16:12:20 -03:00
2015-05-15 16:12:20 -03:00
2015-06-25 12:28:35 -03:00
2015-03-24 12:08:07 -03:00
2015-01-21 13:24:32 -03:00
2015-01-21 13:24:32 -03:00
2015-05-27 12:21:43 -03:00
2014-10-29 10:32:49 -02:00
2014-12-09 09:14:35 -03:00
2015-06-25 15:15:50 -03:00
2015-06-25 15:15:50 -03:00
2015-04-29 10:37:49 -03:00
2015-04-02 13:18:52 -03:00
2014-08-15 10:58:35 -03:00
2013-12-02 09:22:46 -03:00
2015-05-29 12:43:39 -03:00
2015-04-02 13:18:43 -03:00
2015-02-25 16:13:12 -03:00
2015-02-25 16:13:12 -03:00
2015-06-08 10:31:40 -03:00
2015-06-08 10:31:40 -03:00
2015-05-15 16:59:43 -03:00
2015-05-14 10:05:09 -03:00
2015-05-14 10:05:22 -03:00
2015-06-23 18:21:44 -03:00
2015-06-19 18:27:13 -03:00
2015-06-25 15:15:51 -03:00
2015-06-26 11:44:37 -03:00
2015-06-26 11:50:51 -03:00
2015-06-26 11:50:51 -03:00
2014-10-29 10:32:48 -02:00
2013-10-09 08:48:28 +02:00
2015-06-25 15:15:49 -03:00
2015-04-29 10:37:49 -03:00
2013-12-27 17:08:19 -03:00
2015-06-16 10:34:38 -03:00
2015-05-27 12:21:43 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2015-04-02 13:18:47 -03:00
2015-03-21 14:53:40 -03:00
2015-07-01 17:53:48 -03:00
2015-06-19 18:27:13 -03:00
2015-06-16 10:34:38 -03:00
2015-06-16 10:34:38 -03:00
2015-03-31 17:52:32 -03:00
2015-03-31 17:52:32 -03:00
2015-05-14 10:05:22 -03:00
2015-06-07 16:08:31 +02:00
2015-05-27 21:02:17 -03:00
2015-06-25 15:15:50 -03:00
2015-05-27 12:21:43 -03:00
2015-06-23 18:21:37 -03:00
2015-05-27 12:21:43 -03:00
2015-03-19 13:53:28 -03:00
2015-05-05 18:13:01 -03:00
2013-10-09 08:48:49 +02:00
2014-06-12 16:53:19 +02:00
2014-06-12 16:53:19 +02:00
2013-11-07 10:40:47 -03:00
2015-06-23 18:21:30 -03:00
2015-04-29 10:38:01 -03:00
2013-02-14 16:12:34 -03:00
2015-06-23 18:21:44 -03:00
2015-05-27 12:21:45 -03:00
2015-06-08 10:31:40 -03:00
2015-05-08 16:26:26 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2015-07-09 16:29:56 -03:00
2015-06-25 15:15:50 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2015-06-25 15:15:50 -03:00
2014-08-15 10:58:35 -03:00
2015-06-25 15:15:50 -03:00
2015-05-04 19:48:47 -03:00
2015-02-12 17:55:18 -03:00
2015-06-19 18:14:05 -03:00
2015-05-05 18:13:24 -03:00
2014-12-19 13:09:43 +01:00
2015-07-28 12:05:04 -03:00
2015-06-26 11:46:00 -03:00
2015-06-26 12:05:04 -03:00
2013-12-27 17:08:19 -03:00
2015-05-04 12:43:54 -03:00
2015-05-04 12:43:54 -03:00
2014-10-15 16:04:33 -03:00
2014-01-15 15:10:04 -03:00
2013-01-25 12:49:28 -03:00
2015-06-25 15:15:50 -03:00
2014-07-10 00:22:54 +02:00
2015-06-08 10:31:40 -03:00
2015-03-24 12:08:43 -03:00
2015-07-13 08:21:57 -03:00
2015-07-13 08:21:57 -03:00
2015-03-24 12:08:30 -03:00
2013-12-04 13:46:37 -03:00
2015-07-09 12:28:53 -03:00
2015-06-26 11:07:01 -03:00
2015-06-19 16:03:33 -03:00
2015-06-19 16:03:33 -03:00
2015-05-27 12:21:44 -03:00
2015-05-18 10:17:33 -03:00
2015-06-07 16:09:06 +02:00
2013-12-19 14:43:45 -03:00
2014-05-01 21:22:39 +02:00
2014-07-17 12:58:39 -03:00
2015-05-27 12:21:45 -03:00
2014-07-17 12:59:00 -03:00
2015-04-02 13:18:41 -03:00
2014-01-15 15:10:40 -03:00
2015-04-02 13:18:41 -03:00
2014-07-23 11:48:11 -03:00
2014-07-23 11:48:11 -03:00
2014-10-29 10:32:46 -02:00
2014-02-24 09:29:36 -03:00
2015-06-16 10:40:03 -03:00
2014-10-29 10:32:46 -02:00
2015-06-10 11:51:24 -03:00
2015-05-18 10:17:35 -03:00
2013-12-27 17:08:19 -03:00
2014-05-01 21:22:39 +02:00
2015-07-07 11:05:08 -03:00
2015-05-29 12:43:44 -03:00
2015-06-16 10:34:39 -03:00
2015-06-16 10:34:39 -03:00
2014-11-05 10:11:26 -03:00