[PATCH 37/37] perf top: Use perf_evlist__config()

2012-12-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Using struct perf_record_opts to specify how to configure the evsel perf_event_attrs. This gets top closer to record in the way it sets up evsels, with the aim of sharing more and more to the point that both will be a single utility. In this direction top now

[PATCH 37/37] perf top: Use perf_evlist__config()

2012-12-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com Using struct perf_record_opts to specify how to configure the evsel perf_event_attrs. This gets top closer to record in the way it sets up evsels, with the aim of sharing more and more to the point that both will be a single utility. In this