map.c (9f30a04d768f64280dc0c40b730746e82f298d88) map.c (7727a92544b2a507b83fdc7d3e4b6f4545c9f364)
1#include <elf.h>
2#include <inttypes.h>
3#include <sys/ttydefaults.h>
4#include <string.h>
5#include <linux/bitops.h>
6#include "../../util/util.h"
7#include "../../util/debug.h"
8#include "../../util/symbol.h"

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

67 return 0;
68}
69
70static int map_browser__run(struct map_browser *browser)
71{
72 int key;
73
74 if (ui_browser__show(&browser->b, browser->map->dso->long_name,
1#include <elf.h>
2#include <inttypes.h>
3#include <sys/ttydefaults.h>
4#include <string.h>
5#include <linux/bitops.h>
6#include "../../util/util.h"
7#include "../../util/debug.h"
8#include "../../util/symbol.h"

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

67 return 0;
68}
69
70static int map_browser__run(struct map_browser *browser)
71{
72 int key;
73
74 if (ui_browser__show(&browser->b, browser->map->dso->long_name,
75 "Press <- or ESC to exit, %s / to search",
75 "Press ESC to exit, %s / to search",
76 verbose ? "" : "restart with -v to use") < 0)
77 return -1;
78
79 while (1) {
80 key = ui_browser__run(&browser->b, 0);
81
82 switch (key) {
83 case '/':

--- 46 unchanged lines hidden ---
76 verbose ? "" : "restart with -v to use") < 0)
77 return -1;
78
79 while (1) {
80 key = ui_browser__run(&browser->b, 0);
81
82 switch (key) {
83 case '/':

--- 46 unchanged lines hidden ---