diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-05-28 13:55:13 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-28 17:25:43 -0400 |
commit | 0085c954140d27937ada29d139c16341075d45e4 (patch) | |
tree | cb7a8e94077a26f7eb567eba832436df037f8f13 /Documentation/perf_counter/builtin-report.c | |
parent | a2928c42a5d69328c3578b41bd4d72f6658cf7dc (diff) |
perf_counter tools: struct symbol priv area
When creating a dso instance allow asking that all symbols in this dso
have a private area just before the symbol.
perf top will use this for its counters, etc.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090528175513.GD4747@ghostprotocols.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/perf_counter/builtin-report.c')
-rw-r--r-- | Documentation/perf_counter/builtin-report.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/builtin-report.c b/Documentation/perf_counter/builtin-report.c index 04fc7ec0c359..889067eb2b69 100644 --- a/Documentation/perf_counter/builtin-report.c +++ b/Documentation/perf_counter/builtin-report.c | |||
@@ -83,7 +83,7 @@ static struct dso *dsos__findnew(const char *name) | |||
83 | int nr; | 83 | int nr; |
84 | 84 | ||
85 | if (dso == NULL) { | 85 | if (dso == NULL) { |
86 | dso = dso__new(name); | 86 | dso = dso__new(name, 0); |
87 | if (!dso) | 87 | if (!dso) |
88 | goto out_delete_dso; | 88 | goto out_delete_dso; |
89 | 89 | ||
@@ -120,7 +120,7 @@ static int load_kernel(void) | |||
120 | { | 120 | { |
121 | int err = -1; | 121 | int err = -1; |
122 | 122 | ||
123 | kernel_dso = dso__new("[kernel]"); | 123 | kernel_dso = dso__new("[kernel]", 0); |
124 | if (!kernel_dso) | 124 | if (!kernel_dso) |
125 | return -1; | 125 | return -1; |
126 | 126 | ||