hists.c (e414fd1a3f709984a03f0fa287e39df6a7218e22) hists.c (900c8ead5b0b21d73236ffbc4bc2f47a506d8297)
1// SPDX-License-Identifier: GPL-2.0
2#include <dirent.h>
3#include <errno.h>
4#include <inttypes.h>
5#include <stdio.h>
6#include <stdlib.h>
7#include <string.h>
8#include <linux/rbtree.h>

--- 3480 unchanged lines hidden (view full) ---

3489 }
3490 continue;
3491 case K_RIGHT:
3492 case K_ENTER:
3493 if (!menu->selection)
3494 continue;
3495 pos = menu->selection;
3496browse_hists:
1// SPDX-License-Identifier: GPL-2.0
2#include <dirent.h>
3#include <errno.h>
4#include <inttypes.h>
5#include <stdio.h>
6#include <stdlib.h>
7#include <string.h>
8#include <linux/rbtree.h>

--- 3480 unchanged lines hidden (view full) ---

3489 }
3490 continue;
3491 case K_RIGHT:
3492 case K_ENTER:
3493 if (!menu->selection)
3494 continue;
3495 pos = menu->selection;
3496browse_hists:
3497 perf_evlist__set_selected(evlist, pos);
3497 evlist__set_selected(evlist, pos);
3498 /*
3499 * Give the calling tool a chance to populate the non
3500 * default evsel resorted hists tree.
3501 */
3502 if (hbt)
3503 hbt->timer(hbt->arg);
3504 key = evsel__hists_browse(pos, nr_events, help, true, hbt,
3505 menu->min_pcnt, menu->env,

--- 210 unchanged lines hidden ---
3498 /*
3499 * Give the calling tool a chance to populate the non
3500 * default evsel resorted hists tree.
3501 */
3502 if (hbt)
3503 hbt->timer(hbt->arg);
3504 key = evsel__hists_browse(pos, nr_events, help, true, hbt,
3505 menu->min_pcnt, menu->env,

--- 210 unchanged lines hidden ---