mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
The last use of pstack__pop() was removed in 2015 by
commit 6422184b08 ("perf hists browser: Simplify zooming code using
pstack_peek()")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
16 lines
452 B
C
16 lines
452 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PERF_PSTACK_
|
|
#define _PERF_PSTACK_
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct pstack;
|
|
struct pstack *pstack__new(unsigned short max_nr_entries);
|
|
void pstack__delete(struct pstack *pstack);
|
|
bool pstack__empty(const struct pstack *pstack);
|
|
void pstack__remove(struct pstack *pstack, void *key);
|
|
void pstack__push(struct pstack *pstack, void *key);
|
|
void *pstack__peek(struct pstack *pstack);
|
|
|
|
#endif /* _PERF_PSTACK_ */
|