Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182336
b: refs/heads/master
c: 71289be
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Dec 30, 2009
1 parent bcff305 commit a0b099e
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ae99fb2c335ef018520950ddc9692faacab39cf2
refs/heads/master: 71289be7630fb97f2de6bb2e18a50289dc869f9d
5 changes: 4 additions & 1 deletion trunk/tools/perf/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
static char const *input_name = "perf.data";

static int force;
static bool hide_unresolved;

static int show_threads;
static struct perf_read_values show_threads_values;
Expand Down Expand Up @@ -121,7 +122,7 @@ static int process_sample_event(event_t *event, struct perf_session *session)
return -1;
}

if (al.filtered)
if (al.filtered || (hide_unresolved && al.sym == NULL))
return 0;

if (perf_session__add_hist_entry(session, &al, data.callchain, data.period)) {
Expand Down Expand Up @@ -342,6 +343,8 @@ static const struct option options[] = {
OPT_STRING('t', "field-separator", &symbol_conf.field_sep, "separator",
"separator for columns, no spaces will be added between "
"columns '.' is reserved."),
OPT_BOOLEAN('U', "hide-unresolved", &hide_unresolved,
"Only display entries resolved to a symbol"),
OPT_END()
};

Expand Down

0 comments on commit a0b099e

Please sign in to comment.