Searched refs:pstack (Results 1 – 5 of 5) sorted by relevance
15 struct pstack { struct21 struct pstack *pstack__new(unsigned short max_nr_entries) in pstack__new() argument23 struct pstack *pstack = zalloc((sizeof(*pstack) + in pstack__new() local25 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() argument32 free(pstack); in pstack__delete()35 bool pstack__empty(const struct pstack *pstack) in pstack__empty() argument37 return pstack->top == 0; in pstack__empty()[all …]
7 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);
60 perf-y += pstack.o
16 struct pstack *pstack; member
2529 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 …]