Linux Perf
call-path.h File Reference
#include <sys/types.h>
#include <linux/types.h>
#include <linux/rbtree.h>
Include dependency graph for call-path.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  call_path
 
struct  call_path_block
 
struct  call_path_root
 

Macros

#define CALL_PATH_BLOCK_SHIFT   8
 
#define CALL_PATH_BLOCK_SIZE   (1 << CALL_PATH_BLOCK_SHIFT)
 
#define CALL_PATH_BLOCK_MASK   (CALL_PATH_BLOCK_SIZE - 1)
 

Functions

struct call_path_rootcall_path_root__new (void)
 
void call_path_root__free (struct call_path_root *cpr)
 
struct call_pathcall_path__findnew (struct call_path_root *cpr, struct call_path *parent, struct symbol *sym, u64 ip, u64 ks)
 

Macro Definition Documentation

◆ CALL_PATH_BLOCK_MASK

#define CALL_PATH_BLOCK_MASK   (CALL_PATH_BLOCK_SIZE - 1)

Definition at line 49 of file call-path.h.

◆ CALL_PATH_BLOCK_SHIFT

#define CALL_PATH_BLOCK_SHIFT   8

Definition at line 47 of file call-path.h.

◆ CALL_PATH_BLOCK_SIZE

#define CALL_PATH_BLOCK_SIZE   (1 << CALL_PATH_BLOCK_SHIFT)

Definition at line 48 of file call-path.h.

Function Documentation

◆ call_path__findnew()

struct call_path* call_path__findnew ( struct call_path_root cpr,
struct call_path parent,
struct symbol sym,
u64  ip,
u64  ks 
)

Definition at line 85 of file call-path.c.

Here is the call graph for this function:

◆ call_path_root__free()

void call_path_root__free ( struct call_path_root cpr)

Definition at line 46 of file call-path.c.

Here is the call graph for this function:

◆ call_path_root__new()

struct call_path_root* call_path_root__new ( void  )

Definition at line 34 of file call-path.c.

Here is the call graph for this function: