Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
builtin-kmem.c File Reference
#include "builtin.h"
#include "perf.h"
#include "util/evlist.h"
#include "util/evsel.h"
#include "util/util.h"
#include "util/cache.h"
#include "util/symbol.h"
#include "util/thread.h"
#include "util/header.h"
#include "util/session.h"
#include "util/tool.h"
#include "util/parse-options.h"
#include "util/trace-event.h"
#include "util/debug.h"
#include <linux/rbtree.h>

Go to the source code of this file.

Data Structures

struct  alloc_stat
 
struct  sort_dimension
 

Macros

#define PATH_SYS_NODE   "/sys/devices/system/node"
 
#define NUM_AVAIL_SORTS   (int)(sizeof(avail_sorts) / sizeof(struct sort_dimension *))
 

Typedefs

typedef int(* sort_fn_t )(struct alloc_stat *, struct alloc_stat *)
 
typedef int(* tracepoint_handler )(struct perf_evsel *evsel, struct perf_sample *sample)
 

Functions

int cmd_kmem (int argc, const char **argv, const char *prefix __maybe_unused)
 

Macro Definition Documentation

#define NUM_AVAIL_SORTS   (int)(sizeof(avail_sorts) / sizeof(struct sort_dimension *))

Definition at line 617 of file builtin-kmem.c.

#define PATH_SYS_NODE   "/sys/devices/system/node"

Definition at line 56 of file builtin-kmem.c.

Typedef Documentation

typedef int(* sort_fn_t)(struct alloc_stat *, struct alloc_stat *)

Definition at line 22 of file builtin-kmem.c.

typedef int(* tracepoint_handler)(struct perf_evsel *evsel, struct perf_sample *sample)

Definition at line 298 of file builtin-kmem.c.

Function Documentation

int cmd_kmem ( int  argc,
const char **  argv,
const char *prefix  __maybe_unused 
)

Definition at line 743 of file builtin-kmem.c.