Home
last modified time | relevance | path

Searched refs:pstack (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/tools/perf/util/
Dpstack.c15 struct pstack { struct
21 struct pstack *pstack__new(unsigned short max_nr_entries) in pstack__new() argument
23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new() local
25 if (pstack != NULL) in pstack__new()
26 pstack->max_nr_entries = max_nr_entries; in pstack__new()
27 return pstack; in pstack__new()
30 void pstack__delete(struct pstack *pstack) in pstack__delete() argument
32 free(pstack); in pstack__delete()
35 bool pstack__empty(const struct pstack *pstack) in pstack__empty() argument
37 return pstack->top == 0; in pstack__empty()
[all …]
Dpstack.h7 struct pstack;
8 struct pstack *pstack__new(unsigned short max_nr_entries);
9 void pstack__delete(struct pstack *pstack);
10 bool pstack__empty(const struct pstack *pstack);
11 void pstack__remove(struct pstack *pstack, void *key);
12 void pstack__push(struct pstack *pstack, void *key);
13 void *pstack__pop(struct pstack *pstack);
14 void *pstack__peek(struct pstack *pstack);
DBuild60 perf-y += pstack.o
/linux-5.19.10/tools/perf/ui/browsers/
Dhists.h16 struct pstack *pstack; member
Dhists.c2529 pstack__remove(browser->pstack, &browser->hists->thread_filter); in do_zoom_thread()
2545 pstack__push(browser->pstack, &browser->hists->thread_filter); in do_zoom_thread()
2587 pstack__remove(browser->pstack, &browser->hists->dso_filter); in hists_browser__zoom_map()
2596 pstack__push(browser->pstack, &browser->hists->dso_filter); in hists_browser__zoom_map()
2858 pstack__remove(browser->pstack, &browser->hists->socket_filter); in do_zoom_socket()
2864 pstack__push(browser->pstack, &browser->hists->socket_filter); in do_zoom_socket()
3018 browser->pstack = pstack__new(3); in evsel__hists_browse()
3019 if (browser->pstack == NULL) in evsel__hists_browse()
3231 if (pstack__empty(browser->pstack)) { in evsel__hists_browse()
3246 top = pstack__peek(browser->pstack); in evsel__hists_browse()
[all …]