mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00: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 <linux@treblig.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250305023120.155420-4-linux@treblig.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
15 lines
452 B
C
15 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_ */
|