aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2013-12-10 09:58:52 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-12-10 14:51:09 -0500
commit5230fb7db42914e47786a6e920d2624739b0f896 (patch)
tree6a4b843c41f87fe161c3ac2e2d2362c547efe94c /tools/perf/util/symbol.h
parent58a98c9cc583435784a93f23754128363b4cca94 (diff)
perf symbols: Set alloc flag close to setting the long_name
This is a preparatory patch to do with dso__set_long_name what was done with the short name variant. 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-mb7eqhkyejq1qcf3p22wz2x7@git.kernel.org 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index f1031a1358a1..6de9c2b8a601 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -206,7 +206,8 @@ bool symsrc__possibly_runtime(struct symsrc *ss);
206 206
207int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter); 207int dso__load(struct dso *dso, struct map *map, symbol_filter_t filter);
208int dso__load_vmlinux(struct dso *dso, struct map *map, 208int dso__load_vmlinux(struct dso *dso, struct map *map,
209 const char *vmlinux, symbol_filter_t filter); 209 const char *vmlinux, bool vmlinux_allocated,
210 symbol_filter_t filter);
210int dso__load_vmlinux_path(struct dso *dso, struct map *map, 211int dso__load_vmlinux_path(struct dso *dso, struct map *map,
211 symbol_filter_t filter); 212 symbol_filter_t filter);
212int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map, 213int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map,