summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/intlist.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 16:17:27 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 16:40:53 -0300
commitffe0fb769a6db3b6027d9228b6fecb6b352e4834 (patch)
tree2989ffadf34b1e16316af7d82104d3130ba3073c /tools/perf/util/intlist.h
parent5a3d04d6dc9050b4b4562f5c66aea23f0aa1c003 (diff)
downloadop-kernel-dev-ffe0fb769a6db3b6027d9228b6fecb6b352e4834.zip
op-kernel-dev-ffe0fb769a6db3b6027d9228b6fecb6b352e4834.tar.gz
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>
Diffstat (limited to 'tools/perf/util/intlist.h')
-rw-r--r--tools/perf/util/intlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/intlist.h b/tools/perf/util/intlist.h
index 6d63ab9..62351da 100644
--- a/tools/perf/util/intlist.h
+++ b/tools/perf/util/intlist.h
@@ -15,7 +15,7 @@ struct intlist {
struct rblist rblist;
};
-struct intlist *intlist__new(void);
+struct intlist *intlist__new(const char *slist);
void intlist__delete(struct intlist *ilist);
void intlist__remove(struct intlist *ilist, struct int_node *in);
OpenPOWER on IntegriCloud