Linux Perf
block-range.c File Reference
#include "block-range.h"
#include "annotate.h"
Include dependency graph for block-range.c:

Go to the source code of this file.

Functions

static void block_range__debug (void)
 
struct block_rangeblock_range__find (u64 addr)
 
static void rb_link_left_of_node (struct rb_node *left, struct rb_node *node)
 
static void rb_link_right_of_node (struct rb_node *right, struct rb_node *node)
 
struct block_range_iter block_range__create (u64 start, u64 end)
 
double block_range__coverage (struct block_range *br)
 

Variables

struct {
   struct rb_root   root
 
   u64   blocks
 
block_ranges
 

Function Documentation

◆ block_range__coverage()

double block_range__coverage ( struct block_range br)

Definition at line 313 of file block-range.c.

Here is the call graph for this function:

◆ block_range__create()

struct block_range_iter block_range__create ( u64  start,
u64  end 
)

block_range__create : branch target starting this basic block : branch ending this basic block

Create all the required block ranges to precisely span the given range.

Definition at line 79 of file block-range.c.

Here is the call graph for this function:

◆ block_range__debug()

static void block_range__debug ( void  )
static

Definition at line 10 of file block-range.c.

Here is the call graph for this function:

◆ block_range__find()

struct block_range* block_range__find ( u64  addr)

Definition at line 31 of file block-range.c.

Here is the call graph for this function:

◆ rb_link_left_of_node()

static void rb_link_left_of_node ( struct rb_node *  left,
struct rb_node *  node 
)
inlinestatic

Definition at line 52 of file block-range.c.

◆ rb_link_right_of_node()

static void rb_link_right_of_node ( struct rb_node *  right,
struct rb_node *  node 
)
inlinestatic

Definition at line 62 of file block-range.c.

Variable Documentation

◆ block_ranges

struct { ... } block_ranges

◆ blocks

u64 blocks

Definition at line 7 of file block-range.c.

◆ root

struct rb_root root

Definition at line 6 of file block-range.c.