Linux Perf
|
#include <stdbool.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/log2.h>
#include "../../util/evlist.h"
#include "../../util/auxtrace.h"
#include "../../util/evsel.h"
Go to the source code of this file.
Macros | |
#define | PERF_EVENT_CPUM_SF 0xB0000 /* Event: Basic-sampling */ |
#define | PERF_EVENT_CPUM_SF_DIAG 0xBD000 /* Event: Combined-sampling */ |
#define | DEFAULT_AUX_PAGES 128 |
#define | DEFAULT_FREQ 4000 |
Functions | |
static void | cpumsf_free (struct auxtrace_record *itr) |
static size_t | cpumsf_info_priv_size (struct auxtrace_record *itr __maybe_unused, struct perf_evlist *evlist __maybe_unused) |
static int | cpumsf_info_fill (struct auxtrace_record *itr __maybe_unused, struct perf_session *session __maybe_unused, struct auxtrace_info_event *auxtrace_info __maybe_unused, size_t priv_size __maybe_unused) |
static unsigned long | cpumsf_reference (struct auxtrace_record *itr __maybe_unused) |
static int | cpumsf_recording_options (struct auxtrace_record *ar __maybe_unused, struct perf_evlist *evlist __maybe_unused, struct record_opts *opts) |
static int | cpumsf_parse_snapshot_options (struct auxtrace_record *itr __maybe_unused, struct record_opts *opts __maybe_unused, const char *str __maybe_unused) |
struct auxtrace_record * | auxtrace_record__init (struct perf_evlist *evlist, int *err) |
#define DEFAULT_AUX_PAGES 128 |
Definition at line 13 of file auxtrace.c.
#define DEFAULT_FREQ 4000 |
Definition at line 14 of file auxtrace.c.
#define PERF_EVENT_CPUM_SF 0xB0000 /* Event: Basic-sampling */ |
Definition at line 11 of file auxtrace.c.
#define PERF_EVENT_CPUM_SF_DIAG 0xBD000 /* Event: Combined-sampling */ |
Definition at line 12 of file auxtrace.c.
struct auxtrace_record* auxtrace_record__init | ( | struct perf_evlist * | evlist, |
int * | err | ||
) |
|
static |
|
static |
Definition at line 28 of file auxtrace.c.
|
static |
Definition at line 21 of file auxtrace.c.
|
static |
Definition at line 72 of file auxtrace.c.
|
static |
Definition at line 43 of file auxtrace.c.
|
static |
Definition at line 37 of file auxtrace.c.