libperf: Add nr_entries to struct perf_evlist
Move nr_entries count from 'struct perf' to into perf_evlist struct. Committer notes: Fix tools/perf/arch/s390/util/auxtrace.c case. And also the comment in tools/perf/util/annotate.h. Signed-off-by:Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190721112506.12306-42-jolsa@kernel.org Signed-off-by:
Arnaldo Carvalho de Melo <acme@redhat.com>
Showing
- tools/perf/arch/s390/util/auxtrace.c 1 addition, 1 deletiontools/perf/arch/s390/util/auxtrace.c
- tools/perf/builtin-record.c 2 additions, 2 deletionstools/perf/builtin-record.c
- tools/perf/builtin-stat.c 2 additions, 2 deletionstools/perf/builtin-stat.c
- tools/perf/builtin-top.c 6 additions, 6 deletionstools/perf/builtin-top.c
- tools/perf/builtin-trace.c 2 additions, 2 deletionstools/perf/builtin-trace.c
- tools/perf/lib/evlist.c 3 additions, 0 deletionstools/perf/lib/evlist.c
- tools/perf/lib/include/internal/evlist.h 1 addition, 0 deletionstools/perf/lib/include/internal/evlist.h
- tools/perf/tests/parse-events.c 38 additions, 38 deletionstools/perf/tests/parse-events.c
- tools/perf/ui/browsers/annotate.c 1 addition, 1 deletiontools/perf/ui/browsers/annotate.c
- tools/perf/ui/browsers/hists.c 1 addition, 1 deletiontools/perf/ui/browsers/hists.c
- tools/perf/util/annotate.c 1 addition, 1 deletiontools/perf/util/annotate.c
- tools/perf/util/annotate.h 1 addition, 1 deletiontools/perf/util/annotate.h
- tools/perf/util/evlist.c 13 additions, 13 deletionstools/perf/util/evlist.c
- tools/perf/util/evlist.h 0 additions, 1 deletiontools/perf/util/evlist.h
- tools/perf/util/header.c 2 additions, 2 deletionstools/perf/util/header.c
- tools/perf/util/parse-events.c 2 additions, 2 deletionstools/perf/util/parse-events.c
- tools/perf/util/python.c 4 additions, 4 deletionstools/perf/util/python.c
- tools/perf/util/record.c 1 addition, 1 deletiontools/perf/util/record.c
- tools/perf/util/sort.c 1 addition, 1 deletiontools/perf/util/sort.c
- tools/perf/util/top.c 1 addition, 1 deletiontools/perf/util/top.c
Loading
Please register or sign in to comment