Arnaldo Carvalho de Melo
32a951b4fd
perf evlist: Drop redundant evsel->overwrite indicator
...
evsel->overwrite indicator means an event should be put into
overwritable ring buffer. In current implementation, it equals to
evsel->attr.write_backward. To reduce compliexity, remove
evsel->overwrite, use evsel->attr.write_backward instead.
In addition, in __perf_evsel__open(), if kernel doesn't support
write_backward and user explicitly set it in evsel, don't fallback
like other missing feature, since it is meaningless to fall back to
a forward ring buffer in this case: we are unable to stably read
from an forward overwritable ring buffer.
Cc: He Kuang <hekuang@huawei.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nilay Vaish <nilayvaish@gmail.com>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: Zefan Li <lizefan@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1468485287-33422-2-git-send-email-wangnan0@huawei.com
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-07-15 13:38:06 -03:00
..
2016-07-12 15:20:32 -03:00
2016-07-12 15:20:41 -03:00
2016-06-23 10:30:31 -03:00
2016-07-12 15:20:39 -03:00
2016-07-12 15:19:58 -03:00
2016-06-30 18:27:42 -03:00
2016-06-27 14:25:05 -03:00
2016-03-30 11:14:09 -03:00
2016-06-23 17:02:59 -03:00
2016-07-13 23:09:04 -03:00
2016-07-13 23:09:03 -03:00
2015-11-18 17:51:04 -03:00
2015-11-18 17:51:04 -03:00
2016-07-12 16:12:38 -03:00
2016-07-13 23:09:08 -03:00
2016-07-13 23:09:08 -03:00
2016-07-12 15:19:58 -03:00
2016-05-06 13:00:43 -03:00
2016-05-06 13:00:43 -03:00
2016-05-05 21:03:59 -03:00
2016-07-04 19:39:01 -03:00
2016-06-23 11:26:15 -03:00
2016-03-23 15:06:35 -03:00
2016-07-12 15:20:34 -03:00
2016-03-23 15:06:35 -03:00
2016-07-12 15:20:24 -03:00
2015-08-05 16:44:02 -03:00
2015-05-27 12:21:43 -03:00
2014-10-29 10:32:49 -02:00
2016-06-23 17:20:04 -03:00
2016-06-23 17:20:04 -03:00
2015-08-08 14:16:49 -03:00
2015-08-08 14:16:49 -03:00
2016-06-30 18:27:45 -03:00
2016-06-30 18:27:45 -03:00
2016-02-24 20:21:12 -03:00
2016-06-28 10:54:58 -03:00
2016-06-28 10:54:55 -03:00
2016-06-28 10:54:56 -03:00
2016-07-12 15:19:47 -03:00
2016-04-14 08:57:54 -03:00
2016-05-30 12:41:43 -03:00
2016-05-06 13:00:53 -03:00
2016-02-24 11:38:01 -03:00
2016-07-12 15:19:47 -03:00
2016-02-05 09:46:45 -03:00
2016-02-05 09:46:45 -03:00
2016-07-12 16:12:38 -03:00
2016-07-12 16:12:38 -03:00
2016-07-12 15:19:47 -03:00
2016-07-12 15:20:24 -03:00
2016-05-12 11:26:59 -03:00
2016-03-23 15:06:35 -03:00
2016-07-04 19:39:01 -03:00
2016-07-04 19:39:01 -03:00
2016-06-30 18:27:45 -03:00
2016-07-12 15:20:31 -03:00
2016-07-15 13:38:06 -03:00
2016-07-12 16:13:58 -03:00
2016-04-14 19:46:58 -03:00
2016-07-15 13:38:06 -03:00
2016-07-15 13:38:06 -03:00
2014-10-29 10:32:48 -02:00
2016-02-05 12:33:09 -03:00
2016-02-05 12:33:09 -03:00
2016-03-30 18:12:06 -03:00
2016-01-08 12:46:17 -03:00
2016-06-06 17:04:15 -03:00
2016-07-04 19:39:01 -03:00
2016-03-23 12:03:04 -03:00
2016-07-12 15:20:24 -03:00
2015-12-14 12:30:37 -03:00
2016-07-12 00:00:39 -03:00
2016-07-12 00:00:39 -03:00
2016-06-23 17:02:59 -03:00
2015-08-21 11:34:10 -03:00
2016-06-23 17:02:59 -03:00
2015-08-24 17:46:43 -03:00
2016-06-23 11:39:19 -03:00
2016-03-23 15:06:35 -03:00
2016-06-23 11:26:15 -03:00
2016-04-01 18:42:55 -03:00
2016-01-29 17:49:54 -03:00
2016-07-12 15:19:58 -03:00
2016-07-12 15:19:58 -03:00
2016-06-21 13:18:34 -03:00
2015-03-21 14:53:40 -03:00
2016-06-22 10:19:11 -03:00
2016-05-20 11:43:54 -03:00
2016-07-04 20:27:25 -03:00
2016-07-04 20:27:25 -03:00
2016-06-15 10:35:27 -03:00
2016-06-15 10:35:27 -03:00
2016-04-14 08:57:54 -03:00
2016-04-14 08:57:54 -03:00
2015-12-17 14:27:14 -03:00
2015-05-27 21:02:17 -03:00
2016-07-13 23:09:07 -03:00
2016-07-13 23:09:07 -03:00
2016-06-06 17:04:15 -03:00
2016-03-08 10:11:16 +01:00
2015-12-17 14:27:14 -03:00
2015-08-31 18:01:33 -03:00
2016-07-12 15:19:58 -03:00
2016-05-11 21:54:06 +10:00
2015-09-30 18:34:27 -03:00
2013-11-07 10:40:47 -03:00
2016-05-10 11:57:52 -03:00
2015-08-06 16:49:01 -03:00
2016-07-13 23:09:09 -03:00
2016-07-13 23:09:05 -03:00
2016-07-13 23:09:07 -03:00
2016-07-13 23:09:07 -03:00
2016-07-12 15:19:47 -03:00
2016-03-23 15:06:35 -03:00
2015-05-05 18:13:22 -03:00
2015-05-05 18:13:22 -03:00
2016-07-12 15:20:24 -03:00
2016-07-12 16:19:16 -03:00
2016-07-12 15:19:55 -03:00
2016-07-12 15:19:55 -03:00
2016-06-23 11:35:07 -03:00
2016-06-23 11:26:15 -03:00
2016-06-23 11:26:15 -03:00
2016-04-13 10:11:52 -03:00
2016-02-29 11:18:25 -03:00
2016-07-15 10:08:43 -03:00
2016-07-12 00:00:39 -03:00
2015-09-02 16:30:46 -03:00
2016-06-06 17:04:16 -03:00
2016-06-23 11:26:15 -03:00
2016-06-06 17:04:16 -03:00
2016-07-12 15:19:55 -03:00
2016-07-12 15:19:55 -03:00
2015-05-04 12:43:54 -03:00
2015-05-04 12:43:54 -03:00
2015-11-18 17:51:02 -03:00
2016-01-12 12:42:07 -03:00
2016-06-23 11:35:01 -03:00
2015-06-25 15:15:50 -03:00
2016-03-23 15:06:35 -03:00
2016-04-14 19:46:53 -03:00
2016-07-12 16:12:38 -03:00
2015-10-28 10:02:00 -03:00
2016-06-28 10:54:54 -03:00
2016-07-04 19:38:59 -03:00
2016-04-08 09:58:14 -03:00
2016-04-08 09:58:14 -03:00
2016-07-12 15:19:58 -03:00
2013-12-04 13:46:37 -03:00
2015-12-09 13:42:02 -03:00
2015-12-09 13:42:02 -03:00
2016-06-23 11:35:01 -03:00
2016-04-13 10:11:51 -03:00
2016-06-23 17:04:26 -03:00
2016-06-23 17:04:26 -03:00
2016-07-04 20:27:25 -03:00
2016-06-07 12:08:52 -03:00
2016-03-31 10:52:24 -03:00
2013-12-19 14:43:45 -03:00
2016-05-20 11:43:55 -03:00
2015-09-04 12:00:45 -03:00
2015-12-11 11:52:24 -08:00
2015-07-23 22:51:11 -03:00
2015-04-02 13:18:41 -03:00
2016-07-12 16:14:52 -03:00
2016-07-12 16:14:52 -03:00
2016-04-28 09:58:58 -03:00
2016-03-08 10:11:18 +01:00
2016-04-01 18:42:55 -03:00
2016-01-08 14:16:57 -03:00
2015-11-23 18:31:13 -03:00
2016-06-23 10:30:17 -03:00
2016-07-04 20:27:12 -03:00
2016-07-04 20:27:12 -03:00
2016-03-23 12:32:31 -03:00
2016-07-04 19:39:01 -03:00
2016-07-14 12:02:04 -03:00
2013-12-27 17:08:19 -03:00
2014-05-01 21:22:39 +02:00
2016-06-23 10:25:58 -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