Linux Perf
mem2node.h
Go to the documentation of this file.
1
#ifndef __MEM2NODE_H
2
#define __MEM2NODE_H
3
4
#include <linux/rbtree.h>
5
#include "
env.h
"
6
7
struct
phys_entry
;
8
9
struct
mem2node
{
10
struct
rb_root
root
;
11
struct
phys_entry
*
entries
;
12
int
cnt
;
13
};
14
15
int
mem2node__init
(
struct
mem2node
*
map
,
struct
perf_env
*env);
16
void
mem2node__exit
(
struct
mem2node
*
map
);
17
int
mem2node__node
(
struct
mem2node
*
map
, u64 addr);
18
19
#endif
/* __MEM2NODE_H */
perf_env
Definition:
env.h:36
mem2node__init
int mem2node__init(struct mem2node *map, struct perf_env *env)
Definition:
mem2node.c:43
env.h
mem2node
Definition:
mem2node.h:9
mem2node::entries
struct phys_entry * entries
Definition:
mem2node.h:11
phys_entry
Definition:
mem2node.c:7
mem2node::root
struct rb_root root
Definition:
mem2node.h:10
mem2node__node
int mem2node__node(struct mem2node *map, u64 addr)
Definition:
mem2node.c:114
map
Definition:
jevents.c:228
mem2node__exit
void mem2node__exit(struct mem2node *map)
Definition:
mem2node.c:109
mem2node::cnt
int cnt
Definition:
mem2node.h:12
util
mem2node.h
Generated by
1.8.13