Home
last modified time | relevance | path

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

/linux-6.12.1/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);
DBuild67 perf-util-y += pstack.o
/linux-6.12.1/tools/perf/ui/browsers/
Dhists.h15 struct pstack *pstack; member
Dhists.c2545 pstack__remove(browser->pstack, &browser->hists->thread_filter); in do_zoom_thread()
2563 pstack__push(browser->pstack, &browser->hists->thread_filter); in do_zoom_thread()
2604 pstack__remove(browser->pstack, &browser->hists->dso_filter); in hists_browser__zoom_map()
2614 pstack__push(browser->pstack, &browser->hists->dso_filter); in hists_browser__zoom_map()
2876 pstack__remove(browser->pstack, &browser->hists->socket_filter); in do_zoom_socket()
2882 pstack__push(browser->pstack, &browser->hists->socket_filter); in do_zoom_socket()
3036 browser->pstack = pstack__new(3); in evsel__hists_browse()
3037 if (browser->pstack == NULL) in evsel__hists_browse()
3250 if (pstack__empty(browser->pstack)) { in evsel__hists_browse()
3265 top = pstack__peek(browser->pstack); in evsel__hists_browse()
[all …]