Linux Perf
arm-spe.c File Reference
#include <endian.h>
#include <errno.h>
#include <byteswap.h>
#include <inttypes.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/log2.h>
#include "cpumap.h"
#include "color.h"
#include "evsel.h"
#include "evlist.h"
#include "machine.h"
#include "session.h"
#include "util.h"
#include "thread.h"
#include "debug.h"
#include "auxtrace.h"
#include "arm-spe.h"
#include "arm-spe-pkt-decoder.h"
Include dependency graph for arm-spe.c:

Go to the source code of this file.

Classes

struct  arm_spe
 
struct  arm_spe_queue
 

Functions

static void arm_spe_dump (struct arm_spe *spe __maybe_unused, unsigned char *buf, size_t len)
 
static void arm_spe_dump_event (struct arm_spe *spe, unsigned char *buf, size_t len)
 
static int arm_spe_process_event (struct perf_session *session __maybe_unused, union perf_event *event __maybe_unused, struct perf_sample *sample __maybe_unused, struct perf_tool *tool __maybe_unused)
 
static int arm_spe_process_auxtrace_event (struct perf_session *session, union perf_event *event, struct perf_tool *tool __maybe_unused)
 
static int arm_spe_flush (struct perf_session *session __maybe_unused, struct perf_tool *tool __maybe_unused)
 
static void arm_spe_free_queue (void *priv)
 
static void arm_spe_free_events (struct perf_session *session)
 
static void arm_spe_free (struct perf_session *session)
 
static void arm_spe_print_info (u64 *arr)
 
int arm_spe_process_auxtrace_info (union perf_event *event, struct perf_session *session)
 

Variables

static const char *const arm_spe_info_fmts []
 

Function Documentation

◆ arm_spe_dump()

static void arm_spe_dump ( struct arm_spe *spe  __maybe_unused,
unsigned char *  buf,
size_t  len 
)
static

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

Here is the call graph for this function:

◆ arm_spe_dump_event()

static void arm_spe_dump_event ( struct arm_spe spe,
unsigned char *  buf,
size_t  len 
)
static

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

Here is the call graph for this function:

◆ arm_spe_flush()

static int arm_spe_flush ( struct perf_session *session  __maybe_unused,
struct perf_tool *tool  __maybe_unused 
)
static

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

◆ arm_spe_free()

static void arm_spe_free ( struct perf_session session)
static

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

Here is the call graph for this function:

◆ arm_spe_free_events()

static void arm_spe_free_events ( struct perf_session session)
static

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

Here is the call graph for this function:

◆ arm_spe_free_queue()

static void arm_spe_free_queue ( void *  priv)
static

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

Here is the call graph for this function:

◆ arm_spe_print_info()

static void arm_spe_print_info ( u64 *  arr)
static

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

◆ arm_spe_process_auxtrace_event()

static int arm_spe_process_auxtrace_event ( struct perf_session session,
union perf_event event,
struct perf_tool *tool  __maybe_unused 
)
static

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

Here is the call graph for this function:

◆ arm_spe_process_auxtrace_info()

int arm_spe_process_auxtrace_info ( union perf_event event,
struct perf_session session 
)

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

Here is the call graph for this function:

◆ arm_spe_process_event()

static int arm_spe_process_event ( struct perf_session *session  __maybe_unused,
union perf_event *event  __maybe_unused,
struct perf_sample *sample  __maybe_unused,
struct perf_tool *tool  __maybe_unused 
)
static

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

Variable Documentation

◆ arm_spe_info_fmts

const char* const arm_spe_info_fmts[]
static
Initial value:
= {
[ARM_SPE_PMU_TYPE] = " PMU Type %"PRId64"\n",
}

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