linux-stable/tools/perf/ui/gtk
Jiri Olsa 38fe0e0156 libperf: Move 'idx' from tools/perf to perf_evsel::idx
Move evsel::idx to perf_evsel::idx, so we can move the group interface
to libperf.

Committer notes:

Fixup evsel->idx usage in tools/perf/util/bpf_counter_cgroup.c, that
appeared in my tree in my local tree.

Also fixed up these:

$ find tools/perf/ -name "*.[ch]" | xargs grep 'evsel->idx'
tools/perf/ui/gtk/annotate.c:                      evsel->idx + i);
tools/perf/ui/gtk/annotate.c:                   evsel->idx);
$

That running 'make -C tools/perf build-test' caught.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Requested-by: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20210706151704.73662-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-07-09 14:04:28 -03:00
..
annotate.c libperf: Move 'idx' from tools/perf to perf_evsel::idx 2021-07-09 14:04:28 -03:00
browser.c perf tools: Remove needless evlist.h include directives 2019-08-31 22:24:10 -03:00
Build perf/ui/gtk: Fix gtk2 build 2020-01-14 12:40:33 -03:00
gtk.h perf evlist: Use the right prefix for 'struct evlist' browser methods 2020-11-30 14:23:35 -03:00
helpline.c perf tools: Remove debug.h from places where it is not needed 2019-09-20 09:19:20 -03:00
hists.c perf evlist: Use the right prefix for 'struct evlist' browser methods 2020-11-30 14:23:35 -03:00
progress.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
setup.c perf debug: No need to include ui/util.h 2019-09-20 09:19:20 -03:00
util.c perf tools: Remove debug.h from places where it is not needed 2019-09-20 09:19:20 -03:00