#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <lib/prof-lean/mcs-lock.h>
#include <lib/prof-lean/binarytree.h>
#include "binarytree_uwi.h"
Go to the source code of this file.
|
void | bitree_uwi_init (mem_alloc m_alloc) |
|
bitree_uwi_t * | bitree_uwi_malloc (unwinder_t uw, size_t recipe_size) |
|
void | bitree_uwi_free (unwinder_t uw, bitree_uwi_t *tree) |
|
uwi_t * | bitree_uwi_rootval (bitree_uwi_t *tree) |
|
bitree_uwi_t * | bitree_uwi_leftsubtree (bitree_uwi_t *tree) |
|
bitree_uwi_t * | bitree_uwi_rightsubtree (bitree_uwi_t *tree) |
|
void | bitree_uwi_set_leftsubtree (bitree_uwi_t *tree, bitree_uwi_t *subtree) |
|
void | bitree_uwi_set_rightsubtree (bitree_uwi_t *tree, bitree_uwi_t *subtree) |
|
interval_t * | bitree_uwi_interval (bitree_uwi_t *tree) |
|
uw_recipe_t * | bitree_uwi_recipe (bitree_uwi_t *tree) |
|
bitree_uwi_t * | bitree_uwi_rebalance (bitree_uwi_t *tree, int count) |
|
bitree_uwi_t * | bitree_uwi_flatten (bitree_uwi_t *tree) |
|
static int | uwi_t_cmp (void *lhs, void *rhs) |
|
bitree_uwi_t * | bitree_uwi_find (bitree_uwi_t *tree, uwi_t *val) |
|
static int | uwi_t_inrange (void *lhs, void *address) |
|
bitree_uwi_t * | bitree_uwi_inrange (bitree_uwi_t *tree, uintptr_t address) |
|
static void | uwi_t_any_tostr (void *uwip, char str[], unwinder_t uw) |
|
static void | uwi_t_dwarf_tostr (void *uwip, char str[]) |
|
static void | uwi_t_native_tostr (void *uwip, char str[]) |
|
void | bitree_uwi_tostring_indent (bitree_uwi_t *tree, char *indents, char treestr[], unwinder_t uw) |
|
◆ MAX_UWI_STR
◆ NUM_NODES
◆ bitree_uwi_find()
◆ bitree_uwi_flatten()
◆ bitree_uwi_free()
◆ bitree_uwi_init()
◆ bitree_uwi_inrange()
◆ bitree_uwi_interval()
◆ bitree_uwi_leftsubtree()
◆ bitree_uwi_malloc()
◆ bitree_uwi_rebalance()
◆ bitree_uwi_recipe()
◆ bitree_uwi_rightsubtree()
◆ bitree_uwi_rootval()
◆ bitree_uwi_set_leftsubtree()
◆ bitree_uwi_set_rightsubtree()
◆ bitree_uwi_tostring_indent()
◆ uwi_t_any_tostr()
static void uwi_t_any_tostr |
( |
void * |
uwip, |
|
|
char |
str[], |
|
|
unwinder_t |
uw |
|
) |
| |
|
static |
◆ uwi_t_cmp()
static int uwi_t_cmp |
( |
void * |
lhs, |
|
|
void * |
rhs |
|
) |
| |
|
static |
◆ uwi_t_dwarf_tostr()
static void uwi_t_dwarf_tostr |
( |
void * |
uwip, |
|
|
char |
str[] |
|
) |
| |
|
static |
◆ uwi_t_inrange()
static int uwi_t_inrange |
( |
void * |
lhs, |
|
|
void * |
address |
|
) |
| |
|
static |
◆ uwi_t_native_tostr()
static void uwi_t_native_tostr |
( |
void * |
uwip, |
|
|
char |
str[] |
|
) |
| |
|
static |
◆ _lf_uwi_tree
◆ alloc
◆ GF
◆ lock
◆ tree
◆ uwi_t_tostr
Initial value:=
{
}
static void uwi_t_native_tostr(void *uwip, char str[])
static void uwi_t_dwarf_tostr(void *uwip, char str[])
Definition at line 229 of file binarytree_uwi.c.