Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269123
b: refs/heads/master
c: cc02c92
h: refs/heads/master
i:
  269121: 91cab2e
  269119: b1bb011
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Oct 20, 2011
1 parent 3c3f2fe commit acd18d8
Show file tree
Hide file tree
Showing 3 changed files with 8 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: d197fd5d743289e90c160c8c17460b390d862b98
refs/heads/master: cc02c921a01794f85ad53b396133f11d4ddd17ff
4 changes: 3 additions & 1 deletion trunk/tools/perf/util/sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ static int hist_entry__sym_snprintf(struct hist_entry *self, char *bf,
BITS_PER_LONG / 4, self->ip, o);
}

ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", self->level);
if (!sort_dso.elide)
ret += repsep_snprintf(bf + ret, size - ret, "[%c] ", self->level);

if (self->ms.sym)
ret += repsep_snprintf(bf + ret, size - ret, "%s",
self->ms.sym->name);
Expand Down
4 changes: 4 additions & 0 deletions trunk/tools/perf/util/ui/browsers/hists.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,12 +1007,14 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
zoom_out_dso:
ui_helpline__pop();
browser->hists->dso_filter = NULL;
sort_dso.elide = false;
} else {
if (dso == NULL)
continue;
ui_helpline__fpush("To zoom out press <- or -> + \"Zoom out of %s DSO\"",
dso->kernel ? "the Kernel" : dso->short_name);
browser->hists->dso_filter = dso;
sort_dso.elide = true;
pstack__push(fstack, &browser->hists->dso_filter);
}
hists__filter_by_dso(self);
Expand All @@ -1024,11 +1026,13 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
zoom_out_thread:
ui_helpline__pop();
browser->hists->thread_filter = NULL;
sort_thread.elide = false;
} else {
ui_helpline__fpush("To zoom out press <- or -> + \"Zoom out of %s(%d) thread\"",
thread->comm_set ? thread->comm : "",
thread->pid);
browser->hists->thread_filter = thread;
sort_thread.elide = true;
pstack__push(fstack, &browser->hists->thread_filter);
}
hists__filter_by_thread(self);
Expand Down

0 comments on commit acd18d8

Please sign in to comment.