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

Go to the source code of this file.

Classes

struct  inline_list
 
struct  inline_node
 

Macros

#define SRCLINE_UNKNOWN   ((char *) "??:0")
 

Functions

char * get_srcline (struct dso *dso, u64 addr, struct symbol *sym, bool show_sym, bool show_addr, u64 ip)
 
char * __get_srcline (struct dso *dso, u64 addr, struct symbol *sym, bool show_sym, bool show_addr, bool unwind_inlines, u64 ip)
 
void free_srcline (char *srcline)
 
void srcline__tree_insert (struct rb_root *tree, u64 addr, char *srcline)
 
char * srcline__tree_find (struct rb_root *tree, u64 addr)
 
void srcline__tree_delete (struct rb_root *tree)
 
struct inline_nodedso__parse_addr_inlines (struct dso *dso, u64 addr, struct symbol *sym)
 
void inline_node__delete (struct inline_node *node)
 
void inlines__tree_insert (struct rb_root *tree, struct inline_node *inlines)
 
struct inline_nodeinlines__tree_find (struct rb_root *tree, u64 addr)
 
void inlines__tree_delete (struct rb_root *tree)
 

Variables

bool srcline_full_filename
 

Macro Definition Documentation

◆ SRCLINE_UNKNOWN

#define SRCLINE_UNKNOWN   ((char *) "??:0")

Definition at line 27 of file srcline.h.

Function Documentation

◆ __get_srcline()

char* __get_srcline ( struct dso dso,
u64  addr,
struct symbol sym,
bool  show_sym,
bool  show_addr,
bool  unwind_inlines,
u64  ip 
)

Definition at line 499 of file srcline.c.

Here is the call graph for this function:

◆ dso__parse_addr_inlines()

struct inline_node* dso__parse_addr_inlines ( struct dso dso,
u64  addr,
struct symbol sym 
)

Definition at line 626 of file srcline.c.

Here is the call graph for this function:

◆ free_srcline()

void free_srcline ( char *  srcline)

Definition at line 548 of file srcline.c.

Here is the call graph for this function:

◆ get_srcline()

char* get_srcline ( struct dso dso,
u64  addr,
struct symbol sym,
bool  show_sym,
bool  show_addr,
u64  ip 
)

Definition at line 554 of file srcline.c.

Here is the call graph for this function:

◆ inline_node__delete()

void inline_node__delete ( struct inline_node node)

Definition at line 638 of file srcline.c.

Here is the call graph for this function:

◆ inlines__tree_delete()

void inlines__tree_delete ( struct rb_root *  tree)

Definition at line 692 of file srcline.c.

Here is the call graph for this function:

◆ inlines__tree_find()

struct inline_node* inlines__tree_find ( struct rb_root *  tree,
u64  addr 
)

Definition at line 673 of file srcline.c.

◆ inlines__tree_insert()

void inlines__tree_insert ( struct rb_root *  tree,
struct inline_node inlines 
)

Definition at line 654 of file srcline.c.

◆ srcline__tree_delete()

void srcline__tree_delete ( struct rb_root *  tree)

Definition at line 612 of file srcline.c.

Here is the call graph for this function:

◆ srcline__tree_find()

char* srcline__tree_find ( struct rb_root *  tree,
u64  addr 
)

Definition at line 593 of file srcline.c.

◆ srcline__tree_insert()

void srcline__tree_insert ( struct rb_root *  tree,
u64  addr,
char *  srcline 
)

Definition at line 566 of file srcline.c.

Here is the call graph for this function:

Variable Documentation

◆ srcline_full_filename

bool srcline_full_filename

Definition at line 17 of file srcline.c.