Linux Kernel
3.7.1
|
#include <byteswap.h>
#include <linux/bitops.h>
#include "asm/bug.h"
#include "debugfs.h"
#include "event-parse.h"
#include "evsel.h"
#include "evlist.h"
#include "util.h"
#include "cpumap.h"
#include "thread_map.h"
#include "target.h"
#include <linux/hw_breakpoint.h>
#include <linux/perf_event.h>
#include "perf_regs.h"
Go to the source code of this file.
Macros | |
#define | FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y)) |
#define | MOD_PRINT(context, mod) |
#define | C(x) PERF_COUNT_HW_CACHE_##x |
#define | CACHE_READ (1 << C(OP_READ)) |
#define | CACHE_WRITE (1 << C(OP_WRITE)) |
#define | CACHE_PREFETCH (1 << C(OP_PREFETCH)) |
#define | COP(x) (1 << x) |
int perf_event__synthesize_sample | ( | union perf_event * | event, |
u64 | type, | ||
const struct perf_sample * | sample, | ||
bool | swapped | ||
) |
int perf_evsel__alloc_counts | ( | struct perf_evsel * | evsel, |
int | ncpus | ||
) |
int perf_evsel__alloc_fd | ( | struct perf_evsel * | evsel, |
int | ncpus, | ||
int | nthreads | ||
) |
int perf_evsel__alloc_id | ( | struct perf_evsel * | evsel, |
int | ncpus, | ||
int | nthreads | ||
) |
void perf_evsel__close | ( | struct perf_evsel * | evsel, |
int | ncpus, | ||
int | nthreads | ||
) |
void perf_evsel__close_fd | ( | struct perf_evsel * | evsel, |
int | ncpus, | ||
int | nthreads | ||
) |
void perf_evsel__config | ( | struct perf_evsel * | evsel, |
struct perf_record_opts * | opts, | ||
struct perf_evsel * | first | ||
) |
void perf_evsel__delete | ( | struct perf_evsel * | evsel | ) |
void perf_evsel__exit | ( | struct perf_evsel * | evsel | ) |
|
read |
void perf_evsel__free_fd | ( | struct perf_evsel * | evsel | ) |
void perf_evsel__free_id | ( | struct perf_evsel * | evsel | ) |
void perf_evsel__init | ( | struct perf_evsel * | evsel, |
struct perf_event_attr * | attr, | ||
int | idx | ||
) |
u64 perf_evsel__intval | ( | struct perf_evsel * | evsel, |
struct perf_sample * | sample, | ||
const char * | name | ||
) |
|
read |
int perf_evsel__open | ( | struct perf_evsel * | evsel, |
struct cpu_map * | cpus, | ||
struct thread_map * | threads | ||
) |
int perf_evsel__open_per_cpu | ( | struct perf_evsel * | evsel, |
struct cpu_map * | cpus | ||
) |
int perf_evsel__open_per_thread | ( | struct perf_evsel * | evsel, |
struct thread_map * | threads | ||
) |
int perf_evsel__parse_sample | ( | struct perf_evsel * | evsel, |
union perf_event * | event, | ||
struct perf_sample * | data | ||
) |
void* perf_evsel__rawptr | ( | struct perf_evsel * | evsel, |
struct perf_sample * | sample, | ||
const char * | name | ||
) |
const char* perf_evsel__hw_cache[PERF_COUNT_HW_CACHE_MAX][PERF_EVSEL__MAX_ALIASES] |
const char* perf_evsel__hw_cache_op[PERF_COUNT_HW_CACHE_OP_MAX][PERF_EVSEL__MAX_ALIASES] |
const char* perf_evsel__hw_cache_result[PERF_COUNT_HW_CACHE_RESULT_MAX][PERF_EVSEL__MAX_ALIASES] |
const char* perf_evsel__hw_names[PERF_COUNT_HW_MAX] |
const char* perf_evsel__sw_names[PERF_COUNT_SW_MAX] |