|
Linux Kernel
3.7.1
|
#include <stdlib.h>#include <stdio.h>#include <stdbool.h>#include <errno.h>#include <math.h>#include "util.h"#include "callchain.h"Go to the source code of this file.
Macros | |
| #define | chain_for_each_child(child, parent) list_for_each_entry(child, &parent->children, siblings) |
| #define | chain_for_each_child_safe(child, next, parent) list_for_each_entry_safe(child, next, &parent->children, siblings) |
Functions | |
| bool | ip_callchain__valid (struct ip_callchain *chain, const union perf_event *event) |
| 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) |
| int | callchain_cursor_append (struct callchain_cursor *cursor, u64 ip, struct map *map, struct symbol *sym) |
Variables | |
| __thread struct callchain_cursor | callchain_cursor |
| #define chain_for_each_child | ( | child, | |
| parent | |||
| ) | list_for_each_entry(child, &parent->children, siblings) |
Definition at line 31 of file callchain.c.
| #define chain_for_each_child_safe | ( | child, | |
| next, | |||
| parent | |||
| ) | list_for_each_entry_safe(child, next, &parent->children, siblings) |
Definition at line 34 of file callchain.c.
| 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.
1.8.2