diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-03-11 11:13:36 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-03-11 11:28:45 -0500 |
commit | 878b439dccd064d6908800fab0b47bd3c3a87ebb (patch) | |
tree | f2d91701a9077663b4edbf52092ee124160e15db /tools/perf/util/symbol.h | |
parent | 8b8ba4a9a5b04916858f79cee71873f973931649 (diff) |
perf symbols: Rename dso->origin to dso->symtab_type
And the DSO__ORIG_ enum to SYMTAB__, to clarify that this is about from
where the symtab was obtained.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.h')
-rw-r--r-- | tools/perf/util/symbol.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h index 4d7ed09fe332..db39c0c63608 100644 --- a/tools/perf/util/symbol.h +++ b/tools/perf/util/symbol.h | |||
@@ -137,7 +137,7 @@ struct dso { | |||
137 | u8 annotate_warned:1; | 137 | u8 annotate_warned:1; |
138 | u8 sname_alloc:1; | 138 | u8 sname_alloc:1; |
139 | u8 lname_alloc:1; | 139 | u8 lname_alloc:1; |
140 | unsigned char origin; | 140 | unsigned char symtab_type; |
141 | u8 sorted_by_name; | 141 | u8 sorted_by_name; |
142 | u8 loaded; | 142 | u8 loaded; |
143 | u8 build_id[BUILD_ID_SIZE]; | 143 | u8 build_id[BUILD_ID_SIZE]; |
@@ -188,18 +188,18 @@ size_t dso__fprintf_buildid(struct dso *self, FILE *fp); | |||
188 | size_t dso__fprintf_symbols_by_name(struct dso *self, enum map_type type, FILE *fp); | 188 | size_t dso__fprintf_symbols_by_name(struct dso *self, enum map_type type, FILE *fp); |
189 | size_t dso__fprintf(struct dso *self, enum map_type type, FILE *fp); | 189 | size_t dso__fprintf(struct dso *self, enum map_type type, FILE *fp); |
190 | 190 | ||
191 | enum dso_origin { | 191 | enum symtab_type { |
192 | DSO__ORIG_KERNEL = 0, | 192 | SYMTAB__KALLSYMS = 0, |
193 | DSO__ORIG_GUEST_KERNEL, | 193 | SYMTAB__GUEST_KALLSYMS, |
194 | DSO__ORIG_JAVA_JIT, | 194 | SYMTAB__JAVA_JIT, |
195 | DSO__ORIG_BUILD_ID_CACHE, | 195 | SYMTAB__BUILD_ID_CACHE, |
196 | DSO__ORIG_FEDORA, | 196 | SYMTAB__FEDORA_DEBUGINFO, |
197 | DSO__ORIG_UBUNTU, | 197 | SYMTAB__UBUNTU_DEBUGINFO, |
198 | DSO__ORIG_BUILDID, | 198 | SYMTAB__BUILDID_DEBUGINFO, |
199 | DSO__ORIG_DSO, | 199 | SYMTAB__SYSTEM_PATH_DSO, |
200 | DSO__ORIG_GUEST_KMODULE, | 200 | SYMTAB__GUEST_KMODULE, |
201 | DSO__ORIG_KMODULE, | 201 | SYMTAB__SYSTEM_PATH_KMODULE, |
202 | DSO__ORIG_NOT_FOUND, | 202 | SYMTAB__NOT_FOUND, |
203 | }; | 203 | }; |
204 | 204 | ||
205 | char dso__symtab_origin(const struct dso *self); | 205 | char dso__symtab_origin(const struct dso *self); |