perf evsel: Adopt parse_sample method from perf_event
Since we need evsel->{attr.{sample_{id_all,type}},sample_size}, reducing the number of parameters tools have to pass. 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-wdtmgak0ihgsmw1brb54a8h4@git.kernel.org Signed-off-by:Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/util/event.h 0 additions, 3 deletionstools/perf/util/event.h
- tools/perf/util/evlist.c 2 additions, 4 deletionstools/perf/util/evlist.c
- tools/perf/util/evlist.h 1 addition, 2 deletionstools/perf/util/evlist.h
- tools/perf/util/evsel.c 6 additions, 6 deletionstools/perf/util/evsel.c
- tools/perf/util/evsel.h 2 additions, 0 deletionstools/perf/util/evsel.h
Loading
Please register or sign in to comment