Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234414
b: refs/heads/master
c: 0849327
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Feb 11, 2011
1 parent 06c1fdc commit d8a7f1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c940c18c57e45910f7dd9a4011c4658cacba4b6
refs/heads/master: 0849327d13a0bd7f6512b7c21f4b3e79efb2076d
4 changes: 3 additions & 1 deletion trunk/tools/perf/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ static const char default_pretty_printing_style[] = "normal";
static const char *pretty_printing_style = default_pretty_printing_style;

static char callchain_default_opt[] = "fractal,0.5";
static symbol_filter_t annotate_init;

static struct hists *perf_session__hists_findnew(struct perf_session *self,
u64 event_stream, u32 type,
Expand Down Expand Up @@ -167,7 +168,7 @@ static int process_sample_event(union perf_event *event,
struct perf_event_attr *attr;

if (perf_event__preprocess_sample(event, session, &al, sample,
symbol__annotate_init) < 0) {
annotate_init) < 0) {
fprintf(stderr, "problem processing %d event, skipping it.\n",
event->header.type);
return -1;
Expand Down Expand Up @@ -520,6 +521,7 @@ int cmd_report(int argc, const char **argv, const char *prefix __used)
*/
if (use_browser > 0) {
symbol_conf.priv_size = sizeof(struct annotation);
annotate_init = symbol__annotate_init;
/*
* For searching by name on the "Browse map details".
* providing it only in verbose mode not to bloat too
Expand Down

0 comments on commit d8a7f1c

Please sign in to comment.