]> git.baikalelectronics.ru Git - kernel.git/commit
perf symbols: Use consistent name for the DSO binary type member
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Dec 2013 19:14:07 +0000 (16:14 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Dec 2013 19:34:08 +0000 (16:34 -0300)
commit0f9236aaedf4a6b4f09f8f78c837c90cbaf1f180
tree08462ac8af933025178785dbf98167d8695768ec
parent9913e666fc3121c31d66de883022b57d7df90e63
perf symbols: Use consistent name for the DSO binary type member

It was called "data_type", but in this context "data" is way too vague,
it could mean the "data" ELF segment, or something else.

Since we have dso__read_binary_type_filename() and the values this field
receives are all DSO__BINARY_TYPE_<FOO> we may as well call it
"binary_type" for consistency sake.

It also seems more appropriate since it determines if we can do
operations like annotation and DWARF unwinding, that needs more than
just the symtab, requiring access to ELF text segments, CFI ELF
sections, etc.

Cc: Adrian Hunter <adrian.hunter@intel.com>
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@kernel.org>
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-2lkbqrn23uc2uvnn9w9in379@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/dso.c
tools/perf/util/dso.h
tools/perf/util/symbol.c