Linux Perf
pstack.h File Reference
#include <stdbool.h>
Include dependency graph for pstack.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct pstackpstack__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)
 
void * pstack__peek (struct pstack *pstack)
 

Function Documentation

◆ pstack__delete()

void pstack__delete ( struct pstack pstack)

Definition at line 29 of file pstack.c.

Here is the call graph for this function:

◆ pstack__empty()

bool pstack__empty ( const struct pstack pstack)

Definition at line 34 of file pstack.c.

◆ pstack__new()

struct pstack* pstack__new ( unsigned short  max_nr_entries)

Definition at line 20 of file pstack.c.

Here is the call graph for this function:

◆ pstack__peek()

void* pstack__peek ( struct pstack pstack)

Definition at line 79 of file pstack.c.

◆ pstack__pop()

void* pstack__pop ( struct pstack pstack)

Definition at line 65 of file pstack.c.

◆ pstack__push()

void pstack__push ( struct pstack pstack,
void *  key 
)

Definition at line 56 of file pstack.c.

◆ pstack__remove()

void pstack__remove ( struct pstack pstack,
void *  key 
)

Definition at line 39 of file pstack.c.