perf tools: Allow passing a list to intlist__new
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:17:27 +0000 (16:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:53 +0000 (16:40 -0300)
commitffe0fb769a6db3b6027d9228b6fecb6b352e4834
tree2989ffadf34b1e16316af7d82104d3130ba3073c
parent5a3d04d6dc9050b4b4562f5c66aea23f0aa1c003
perf tools: Allow passing a list to intlist__new

Just like strlist allows passing a list of entries to parse.

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: Namhyung Kim <namhyung@gmail.com>
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-em50vqvvmlnc6k9tw4xtixus@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c
tools/perf/util/intlist.c
tools/perf/util/intlist.h