Arnaldo Carvalho de Melo
ef503831d8
perf evsel: Remove idx parm from constructor
...
Most uses of the evsel constructor are followed by a call to
perf_evlist__add with an idex of evlist->nr_entries, so make rename
the current constructor to perf_evsel__new_idx and remove the need
for passing the constructor for the common case.
We still need the new_idx variant because the way groups are handled,
with evsel->nr_members holding the number of entries in an evlist,
partitioning the evlist into sublists inside a single linked list.
This asks for a clarifying refactoring, but for now simplify the non
parser cases, so that tool writers don't have to bother with evsel idx
setting.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-zy9tskx6jqm2rmw7468zze2a@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-11-11 15:56:39 -03:00
..
2013-11-05 15:15:07 -03:00
2013-11-04 11:50:28 -03:00
2010-05-18 23:03:35 -03:00
2012-09-11 12:19:15 -03:00
2013-10-14 10:29:20 -03:00
2013-10-09 15:55:25 -03:00
2012-02-13 23:28:10 -02:00
2013-10-23 09:55:37 -03:00
2013-11-05 15:32:36 -03:00
2013-10-09 08:48:49 +02:00
2013-10-21 17:33:23 -03:00
2013-10-29 11:23:32 +01:00
2012-09-11 12:19:15 -03:00
2011-02-16 13:30:48 +01:00
2013-11-01 10:40:51 -03:00
2013-11-01 10:40:51 -03:00
2013-11-04 12:16:39 -03:00
2013-11-04 12:16:39 -03:00
2012-09-11 12:19:15 -03:00
2013-11-05 15:15:00 -03:00
2013-07-12 13:45:44 -03:00
2012-02-13 23:17:40 -02:00
2013-10-21 17:33:24 -03:00
2013-10-21 17:33:25 -03:00
2012-12-09 08:46:07 -03:00
2013-01-24 16:40:09 -03:00
2013-10-09 16:02:02 -03:00
2013-10-09 16:02:02 -03:00
2013-10-04 15:16:05 -03:00
2013-10-04 15:16:05 -03:00
2013-11-05 15:32:36 -03:00
2013-11-05 15:32:36 -03:00
2013-11-11 15:56:39 -03:00
2013-11-06 12:34:26 +01:00
2013-11-11 15:56:39 -03:00
2013-11-11 15:56:39 -03:00
2011-02-18 07:43:06 -02:00
2010-05-18 23:03:35 -03:00
2013-11-05 15:15:07 -03:00
2013-11-05 15:15:07 -03:00
2013-10-09 08:48:28 +02:00
2013-11-11 15:56:39 -03:00
2013-07-17 17:04:00 -03:00
2012-09-11 12:19:15 -03:00
2009-09-24 21:27:51 +02:00
2013-11-04 20:59:09 -03:00
2013-11-05 15:32:36 -03:00
2010-05-02 12:00:44 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2009-09-24 21:27:51 +02:00
2013-11-04 11:57:06 -03:00
2013-11-04 11:57:06 -03:00
2013-10-14 12:21:18 -03:00
2013-10-14 12:21:18 -03:00
2012-05-30 15:10:39 -03:00
2013-11-11 15:56:39 -03:00
2013-07-12 13:52:05 -03:00
2013-10-11 12:17:31 -03:00
2013-07-12 13:52:05 -03:00
2013-11-04 12:57:36 -03:00
2013-11-04 12:51:45 -03:00
2013-10-09 08:48:49 +02:00
2013-10-09 08:48:28 +02:00
2013-11-07 10:40:47 -03:00
2013-11-05 15:15:00 -03:00
2013-10-04 10:06:07 +02:00
2012-03-16 14:29:35 -03:00
2013-02-14 16:12:34 -03:00
2013-10-23 09:55:37 -03:00
2012-05-11 13:58:17 -03:00
2013-11-05 15:32:36 -03:00
2013-11-05 15:32:36 -03:00
2012-11-14 16:50:38 -03:00
2013-11-05 15:32:36 -03:00
2013-11-05 14:44:26 -03:00
2013-10-29 11:23:32 +01:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2013-10-14 10:28:48 -03:00
2013-10-14 10:28:48 -03:00
2013-11-05 15:15:08 -03:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2013-11-07 10:40:47 -03:00
2013-11-05 15:32:36 -03:00
2013-05-30 16:12:03 +03:00
2010-05-18 23:03:35 -03:00
2010-05-18 23:03:35 -03:00
2013-11-04 12:16:39 -03:00
2013-11-07 11:51:19 -03:00
2013-10-14 10:28:52 -03:00
2013-08-07 17:35:26 -03:00
2013-08-07 17:35:26 -03:00
2012-10-30 10:32:56 -02:00
2010-05-18 23:03:35 -03:00
2013-11-05 15:32:36 -03:00
2013-11-05 15:32:36 -03:00
2013-07-12 13:53:52 -03:00
2013-03-13 17:00:33 -03:00
2013-01-25 12:49:28 -03:00
2011-02-28 08:56:14 +01:00
2009-09-24 21:27:51 +02:00
2013-10-14 12:21:23 -03:00
2013-10-14 12:20:38 -03:00
2013-10-14 12:21:20 -03:00
2013-10-14 12:20:38 -03:00
2012-09-05 19:35:21 -03:00
2012-05-17 12:32:54 -03:00
2012-05-25 11:40:59 -03:00
2013-03-15 13:06:02 -03:00
2013-11-04 12:16:39 -03:00
2013-11-05 15:32:36 -03:00
2013-09-11 10:09:32 -03:00
2013-05-28 16:23:59 +03:00
2013-10-21 17:36:25 -03:00
2013-07-12 13:52:31 -03:00
2013-10-09 11:15:28 -03:00
2013-07-12 13:52:24 -03:00
2013-07-22 11:55:53 -03:00
2013-10-09 11:15:28 -03:00
2012-05-22 12:50:25 -03:00
2013-08-12 10:31:12 -03:00
2013-10-09 08:48:28 +02:00
2012-05-07 16:46:48 -03:00
2013-10-23 10:59:09 -03:00
2013-10-17 16:33:43 -03:00
2011-12-20 13:41:34 -02:00
2009-09-24 21:27:51 +02:00
2013-07-08 17:59:07 -03:00
2012-09-11 12:08:30 -03:00
2012-09-11 12:19:15 -03:00
2011-01-03 16:39:04 -02:00
2011-01-03 16:39:04 -02:00