diff options
Diffstat (limited to 'tools/perf/ui/browsers/hists.c')
-rw-r--r-- | tools/perf/ui/browsers/hists.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index 788506eef567..ad312d91caed 100644 --- a/tools/perf/ui/browsers/hists.c +++ b/tools/perf/ui/browsers/hists.c | |||
@@ -1467,7 +1467,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events, | |||
1467 | perf_hpp__set_user_width(symbol_conf.col_width_list_str); | 1467 | perf_hpp__set_user_width(symbol_conf.col_width_list_str); |
1468 | 1468 | ||
1469 | while (1) { | 1469 | while (1) { |
1470 | const struct thread *thread = NULL; | 1470 | struct thread *thread = NULL; |
1471 | const struct dso *dso = NULL; | 1471 | const struct dso *dso = NULL; |
1472 | int choice = 0, | 1472 | int choice = 0, |
1473 | annotate = -2, zoom_dso = -2, zoom_thread = -2, | 1473 | annotate = -2, zoom_dso = -2, zoom_thread = -2, |
@@ -1754,13 +1754,13 @@ zoom_thread: | |||
1754 | pstack__remove(fstack, &browser->hists->thread_filter); | 1754 | pstack__remove(fstack, &browser->hists->thread_filter); |
1755 | zoom_out_thread: | 1755 | zoom_out_thread: |
1756 | ui_helpline__pop(); | 1756 | ui_helpline__pop(); |
1757 | browser->hists->thread_filter = NULL; | 1757 | thread__zput(browser->hists->thread_filter); |
1758 | perf_hpp__set_elide(HISTC_THREAD, false); | 1758 | perf_hpp__set_elide(HISTC_THREAD, false); |
1759 | } else { | 1759 | } else { |
1760 | ui_helpline__fpush("To zoom out press <- or -> + \"Zoom out of %s(%d) thread\"", | 1760 | ui_helpline__fpush("To zoom out press <- or -> + \"Zoom out of %s(%d) thread\"", |
1761 | thread->comm_set ? thread__comm_str(thread) : "", | 1761 | thread->comm_set ? thread__comm_str(thread) : "", |
1762 | thread->tid); | 1762 | thread->tid); |
1763 | browser->hists->thread_filter = thread; | 1763 | browser->hists->thread_filter = thread__get(thread); |
1764 | perf_hpp__set_elide(HISTC_THREAD, false); | 1764 | perf_hpp__set_elide(HISTC_THREAD, false); |
1765 | pstack__push(fstack, &browser->hists->thread_filter); | 1765 | pstack__push(fstack, &browser->hists->thread_filter); |
1766 | } | 1766 | } |