diff options
Diffstat (limited to 'tools/perf/ui/browsers/hists.c')
-rw-r--r-- | tools/perf/ui/browsers/hists.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c index e5afb8936040..fa9eb92c9e24 100644 --- a/tools/perf/ui/browsers/hists.c +++ b/tools/perf/ui/browsers/hists.c | |||
@@ -1430,7 +1430,6 @@ close_file_and_continue: | |||
1430 | 1430 | ||
1431 | struct popup_action { | 1431 | struct popup_action { |
1432 | struct thread *thread; | 1432 | struct thread *thread; |
1433 | struct dso *dso; | ||
1434 | struct map_symbol ms; | 1433 | struct map_symbol ms; |
1435 | int socket; | 1434 | int socket; |
1436 | 1435 | ||
@@ -1565,7 +1564,6 @@ add_dso_opt(struct hist_browser *browser, struct popup_action *act, | |||
1565 | return 0; | 1564 | return 0; |
1566 | 1565 | ||
1567 | act->ms.map = map; | 1566 | act->ms.map = map; |
1568 | act->dso = map->dso; | ||
1569 | act->fn = do_zoom_dso; | 1567 | act->fn = do_zoom_dso; |
1570 | return 1; | 1568 | return 1; |
1571 | } | 1569 | } |
@@ -1827,7 +1825,6 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events, | |||
1827 | 1825 | ||
1828 | while (1) { | 1826 | while (1) { |
1829 | struct thread *thread = NULL; | 1827 | struct thread *thread = NULL; |
1830 | struct dso *dso = NULL; | ||
1831 | struct map *map = NULL; | 1828 | struct map *map = NULL; |
1832 | int choice = 0; | 1829 | int choice = 0; |
1833 | int socked_id = -1; | 1830 | int socked_id = -1; |
@@ -1839,8 +1836,6 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events, | |||
1839 | if (browser->he_selection != NULL) { | 1836 | if (browser->he_selection != NULL) { |
1840 | thread = hist_browser__selected_thread(browser); | 1837 | thread = hist_browser__selected_thread(browser); |
1841 | map = browser->selection->map; | 1838 | map = browser->selection->map; |
1842 | if (map) | ||
1843 | dso = map->dso; | ||
1844 | socked_id = browser->he_selection->socket; | 1839 | socked_id = browser->he_selection->socket; |
1845 | } | 1840 | } |
1846 | switch (key) { | 1841 | switch (key) { |
@@ -1874,7 +1869,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events, | |||
1874 | hist_browser__dump(browser); | 1869 | hist_browser__dump(browser); |
1875 | continue; | 1870 | continue; |
1876 | case 'd': | 1871 | case 'd': |
1877 | actions->dso = dso; | 1872 | actions->ms.map = map; |
1878 | do_zoom_dso(browser, actions); | 1873 | do_zoom_dso(browser, actions); |
1879 | continue; | 1874 | continue; |
1880 | case 'V': | 1875 | case 'V': |