Linux Perf
arm-spe.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/log2.h>
#include <time.h>
#include "../../util/cpumap.h"
#include "../../util/evsel.h"
#include "../../util/evlist.h"
#include "../../util/session.h"
#include "../../util/util.h"
#include "../../util/pmu.h"
#include "../../util/debug.h"
#include "../../util/auxtrace.h"
#include "../../util/arm-spe.h"
Include dependency graph for arm-spe.c:

Go to the source code of this file.

Classes

struct  arm_spe_recording
 

Macros

#define KiB(x)   ((x) * 1024)
 
#define MiB(x)   ((x) * 1024 * 1024)
 

Functions

static size_t arm_spe_info_priv_size (struct auxtrace_record *itr __maybe_unused, struct perf_evlist *evlist __maybe_unused)
 
static int arm_spe_info_fill (struct auxtrace_record *itr, struct perf_session *session, struct auxtrace_info_event *auxtrace_info, size_t priv_size)
 
static int arm_spe_recording_options (struct auxtrace_record *itr, struct perf_evlist *evlist, struct record_opts *opts)
 
static u64 arm_spe_reference (struct auxtrace_record *itr __maybe_unused)
 
static void arm_spe_recording_free (struct auxtrace_record *itr)
 
static int arm_spe_read_finish (struct auxtrace_record *itr, int idx)
 
struct auxtrace_recordarm_spe_recording_init (int *err, struct perf_pmu *arm_spe_pmu)
 
struct perf_event_attr * arm_spe_pmu_default_config (struct perf_pmu *arm_spe_pmu)
 

Macro Definition Documentation

◆ KiB

#define KiB (   x)    ((x) * 1024)

Definition at line 23 of file arm-spe.c.

◆ MiB

#define MiB (   x)    ((x) * 1024 * 1024)

Definition at line 24 of file arm-spe.c.

Function Documentation

◆ arm_spe_info_fill()

static int arm_spe_info_fill ( struct auxtrace_record itr,
struct perf_session session,
struct auxtrace_info_event auxtrace_info,
size_t  priv_size 
)
static

Definition at line 39 of file arm-spe.c.

◆ arm_spe_info_priv_size()

static size_t arm_spe_info_priv_size ( struct auxtrace_record *itr  __maybe_unused,
struct perf_evlist *evlist  __maybe_unused 
)
static

Definition at line 33 of file arm-spe.c.

◆ arm_spe_pmu_default_config()

struct perf_event_attr* arm_spe_pmu_default_config ( struct perf_pmu arm_spe_pmu)

Definition at line 201 of file arm-spe.c.

Here is the call graph for this function:

◆ arm_spe_read_finish()

static int arm_spe_read_finish ( struct auxtrace_record itr,
int  idx 
)
static

Definition at line 158 of file arm-spe.c.

Here is the call graph for this function:

◆ arm_spe_recording_free()

static void arm_spe_recording_free ( struct auxtrace_record itr)
static

Definition at line 150 of file arm-spe.c.

Here is the call graph for this function:

◆ arm_spe_recording_init()

struct auxtrace_record* arm_spe_recording_init ( int *  err,
struct perf_pmu arm_spe_pmu 
)

Definition at line 172 of file arm-spe.c.

Here is the call graph for this function:

◆ arm_spe_recording_options()

static int arm_spe_recording_options ( struct auxtrace_record itr,
struct perf_evlist evlist,
struct record_opts opts 
)
static

Definition at line 60 of file arm-spe.c.

Here is the call graph for this function:

◆ arm_spe_reference()

static u64 arm_spe_reference ( struct auxtrace_record *itr  __maybe_unused)
static

Definition at line 141 of file arm-spe.c.