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);
53 perf-y += pstack.o
15 struct pstack *pstack; member
2427 pstack__remove(browser->pstack, &browser->hists->thread_filter); in do_zoom_thread()2443 pstack__push(browser->pstack, &browser->hists->thread_filter); in do_zoom_thread()2488 pstack__remove(browser->pstack, &browser->hists->dso_filter); in do_zoom_dso()2497 pstack__push(browser->pstack, &browser->hists->dso_filter); in do_zoom_dso()2731 pstack__remove(browser->pstack, &browser->hists->socket_filter); in do_zoom_socket()2737 pstack__push(browser->pstack, &browser->hists->socket_filter); in do_zoom_socket()2891 browser->pstack = pstack__new(3); in perf_evsel__hists_browse()2892 if (browser->pstack == NULL) in perf_evsel__hists_browse()3043 if (pstack__empty(browser->pstack)) { in perf_evsel__hists_browse()3057 top = pstack__peek(browser->pstack); in perf_evsel__hists_browse()[all …]