perf evsel: Adopt fprintf routine from 'perf evlist'
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Dec 2012 21:17:08 +0000 (18:17 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 11 Dec 2012 20:19:53 +0000 (17:19 -0300)
commit0698aeddcfe0c2514af1d012082665a3bb55d01b
tree1dbff17ae0ee374457d202cac26178581c07bfd2
parentf77a951826b44b763e4d9fbd2479b6132d2bd7fc
perf evsel: Adopt fprintf routine from 'perf evlist'

So that we can print all the details when debugging other tools,
when we have just evlists and evsels, not a perf.data file.

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-mktq5fy2h5z7jyeqvvf5mbc8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-evlist.c
tools/perf/util/evsel.c
tools/perf/util/evsel.h