Linux Kernel
3.7.1
|
#include <linux/list.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <dirent.h>
#include "sysfs.h"
#include "util.h"
#include "pmu.h"
#include "parse-events.h"
#include "cpumap.h"
Go to the source code of this file.
Data Structures | |
struct | test_format |
Macros | |
#define | EVENT_SOURCE_DEVICE_PATH "/bus/event_source/devices/" |
#define | TEST_FORMATS_CNT (sizeof(test_formats) / sizeof(struct test_format)) |
#define | TERMS_CNT (sizeof(test_terms) / sizeof(struct parse_events__term)) |
Functions | |
int | perf_pmu_parse (struct list_head *list, char *name) |
struct perf_pmu * | perf_pmu__scan (struct perf_pmu *pmu) |
struct perf_pmu * | perf_pmu__find (char *name) |
int | perf_pmu__config (struct perf_pmu *pmu, struct perf_event_attr *attr, struct list_head *head_terms) |
int | perf_pmu__check_alias (struct perf_pmu *pmu, struct list_head *head_terms) |
int | perf_pmu__new_format (struct list_head *list, char *name, int config, unsigned long *bits) |
void | perf_pmu__set_format (unsigned long *bits, long from, long to) |
int | perf_pmu__test (void) |
Variables | |
FILE * | perf_pmu_in |
#define TERMS_CNT (sizeof(test_terms) / sizeof(struct parse_events__term)) |
FILE* perf_pmu_in |