commit | 0085c954140d27937ada29d139c16341075d45e4 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <[email protected]> | Thu May 28 14:55:13 2009 -0300 |
committer | Ingo Molnar <[email protected]> | Thu May 28 23:25:43 2009 +0200 |
tree | cb7a8e94077a26f7eb567eba832436df037f8f13 | |
parent | a2928c42a5d69328c3578b41bd4d72f6658cf7dc [diff] [blame] |
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 <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
diff --git a/Documentation/perf_counter/builtin-report.c b/Documentation/perf_counter/builtin-report.c index 04fc7ec..889067e 100644 --- a/Documentation/perf_counter/builtin-report.c +++ b/Documentation/perf_counter/builtin-report.c
@@ -83,7 +83,7 @@ int nr; if (dso == NULL) { - dso = dso__new(name); + dso = dso__new(name, 0); if (!dso) goto out_delete_dso; @@ -120,7 +120,7 @@ { int err = -1; - kernel_dso = dso__new("[kernel]"); + kernel_dso = dso__new("[kernel]", 0); if (!kernel_dso) return -1;