mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 22:16:41 +07:00
316c7136f8
They convey no information, perhaps I was bitten by some snake at some point, complete the detox by naming the last of those arguments more sensibly. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-u1r0dnjoro08dgztiy2g3t2q@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
15 lines
412 B
C
15 lines
412 B
C
#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__pop(struct pstack *pstack);
|
|
|
|
#endif /* _PERF_PSTACK_ */
|