perf tools: Use perf_evlist__{first,last}, perf_evsel__next
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Nov 2013 18:54:30 +0000 (15:54 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Nov 2013 19:00:10 +0000 (16:00 -0300)
commit9a354cdc2f40344a177d369fb4987a8270dd94df
treeecc6377611bb3df84887870e5f0d53500c576338
parent9d4ecc8893832337daf241236841db966fa53489
perf tools: Use perf_evlist__{first,last}, perf_evsel__next

In a few remaining places where the equivalent open coded variant was
still being used.

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: Namhyung Kim <namhyung@kernel.org>
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-4vjnloi5fisilykwxalb5nel@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/parse-events.c
tools/perf/ui/browsers/hists.c