]> asedeno.scripts.mit.edu Git - linux.git/commit
perf annotate: Rename struct annotation_line::samples* to data*
authorJiri Olsa <jolsa@kernel.org>
Sat, 4 Aug 2018 13:05:05 +0000 (15:05 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Aug 2018 18:55:46 +0000 (15:55 -0300)
commitc2f938ba5aa61ba60e9217848e666c783cbcce1c
tree3174c8496023083eea3e8a3f03658b5344171d85
parent0683d13c1afbf5cca147b6f578d1463be132b11b
perf annotate: Rename struct annotation_line::samples* to data*

The name 'samples*' is little confusing because we have nested 'struct
sym_hist_entry' under annotation_line struct, which holds 'nr_samples'
as well.

Also the holding struct name is 'annotation_data' so the 'data' name
fits better.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20180804130521.11408-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/util/annotate.c
tools/perf/util/annotate.h