#include <errno.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/bitops.h>
#include <linux/log2.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/tsc.h"
#include "../../util/auxtrace.h"
#include "../../util/intel-bts.h"
Go to the source code of this file.
|
static size_t | intel_bts_info_priv_size (struct auxtrace_record *itr __maybe_unused, struct perf_evlist *evlist __maybe_unused) |
|
static int | intel_bts_info_fill (struct auxtrace_record *itr, struct perf_session *session, struct auxtrace_info_event *auxtrace_info, size_t priv_size) |
|
static int | intel_bts_recording_options (struct auxtrace_record *itr, struct perf_evlist *evlist, struct record_opts *opts) |
|
static int | intel_bts_parse_snapshot_options (struct auxtrace_record *itr, struct record_opts *opts, const char *str) |
|
static u64 | intel_bts_reference (struct auxtrace_record *itr __maybe_unused) |
|
static int | intel_bts_alloc_snapshot_refs (struct intel_bts_recording *btsr, int idx) |
|
static void | intel_bts_free_snapshot_refs (struct intel_bts_recording *btsr) |
|
static void | intel_bts_recording_free (struct auxtrace_record *itr) |
|
static int | intel_bts_snapshot_start (struct auxtrace_record *itr) |
|
static int | intel_bts_snapshot_finish (struct auxtrace_record *itr) |
|
static bool | intel_bts_first_wrap (u64 *data, size_t buf_size) |
|
static int | intel_bts_find_snapshot (struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old) |
|
static int | intel_bts_read_finish (struct auxtrace_record *itr, int idx) |
|
struct auxtrace_record * | intel_bts_recording_init (int *err) |
|
◆ KiB
#define KiB |
( |
|
x | ) |
((x) * 1024) |
◆ KiB_MASK
#define KiB_MASK |
( |
|
x | ) |
(KiB(x) - 1) |
◆ MiB
#define MiB |
( |
|
x | ) |
((x) * 1024 * 1024) |
◆ MiB_MASK
#define MiB_MASK |
( |
|
x | ) |
(MiB(x) - 1) |
◆ intel_bts_alloc_snapshot_refs()
◆ intel_bts_find_snapshot()
static int intel_bts_find_snapshot |
( |
struct auxtrace_record * |
itr, |
|
|
int |
idx, |
|
|
struct auxtrace_mmap * |
mm, |
|
|
unsigned char * |
data, |
|
|
u64 * |
head, |
|
|
u64 * |
old |
|
) |
| |
|
static |
◆ intel_bts_first_wrap()
static bool intel_bts_first_wrap |
( |
u64 * |
data, |
|
|
size_t |
buf_size |
|
) |
| |
|
static |
◆ intel_bts_free_snapshot_refs()
◆ intel_bts_info_fill()
◆ intel_bts_info_priv_size()
◆ intel_bts_parse_snapshot_options()
◆ intel_bts_read_finish()
◆ intel_bts_recording_free()
◆ intel_bts_recording_init()
◆ intel_bts_recording_options()
◆ intel_bts_reference()
static u64 intel_bts_reference |
( |
struct auxtrace_record *itr |
__maybe_unused | ) |
|
|
static |
◆ intel_bts_snapshot_finish()
◆ intel_bts_snapshot_start()