Linux Kernel
3.7.1
|
#include "../perf.h"
#include <linux/list.h>
#include <linux/rbtree.h>
#include "event.h"
#include "symbol.h"
Go to the source code of this file.
Data Structures | |
struct | callchain_node |
struct | callchain_root |
struct | callchain_param |
struct | callchain_list |
struct | callchain_cursor_node |
struct | callchain_cursor |
Typedefs | |
typedef void(* | sort_chain_func_t )(struct rb_root *, struct callchain_root *, u64, struct callchain_param *) |
Enumerations | |
enum | chain_mode { CHAIN_NONE, CHAIN_FLAT, CHAIN_GRAPH_ABS, CHAIN_GRAPH_REL } |
enum | chain_order { ORDER_CALLER, ORDER_CALLEE } |
Functions | |
int | callchain_register_param (struct callchain_param *param) |
int | callchain_append (struct callchain_root *root, struct callchain_cursor *cursor, u64 period) |
int | callchain_merge (struct callchain_cursor *cursor, struct callchain_root *dst, struct callchain_root *src) |
bool | ip_callchain__valid (struct ip_callchain *chain, const union perf_event *event) |
int | callchain_cursor_append (struct callchain_cursor *cursor, u64 ip, struct map *map, struct symbol *sym) |
Variables | |
__thread struct callchain_cursor | callchain_cursor |
typedef void(* sort_chain_func_t)(struct rb_root *, struct callchain_root *, u64, struct callchain_param *) |
Definition at line 41 of file callchain.h.
enum chain_mode |
Definition at line 10 of file callchain.h.
enum chain_order |
Definition at line 17 of file callchain.h.
int callchain_append | ( | struct callchain_root * | root, |
struct callchain_cursor * | cursor, | ||
u64 | period | ||
) |
Definition at line 381 of file callchain.c.
int callchain_cursor_append | ( | struct callchain_cursor * | cursor, |
u64 | ip, | ||
struct map * | map, | ||
struct symbol * | sym | ||
) |
Definition at line 441 of file callchain.c.
int callchain_merge | ( | struct callchain_cursor * | cursor, |
struct callchain_root * | dst, | ||
struct callchain_root * | src | ||
) |
Definition at line 435 of file callchain.c.
int callchain_register_param | ( | struct callchain_param * | param | ) |
Definition at line 149 of file callchain.c.
bool ip_callchain__valid | ( | struct ip_callchain * | chain, |
const union perf_event * | event | ||
) |
Definition at line 23 of file callchain.c.
__thread struct callchain_cursor callchain_cursor |
Definition at line 21 of file callchain.c.