]> git.karo-electronics.de Git - linux-beck.git/commit
perf evlist: Introduce perf_evlist__add_attrs
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Nov 2011 11:10:59 +0000 (09:10 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:24:43 +0000 (10:24 -0200)
commit50d08e47bc04eb05502f5c86b70bbd19ef1c2778
tree655bddc48548db3d878ab416fddc13b3e6d34a6c
parentebf294bf4f147aff29df5a16bfb0f8ebca15feaa
perf evlist: Introduce perf_evlist__add_attrs

Replacing the open coded equivalents in 'perf stat'.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.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-1btwadnf2tds2g07hsccsdse@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h