#include <errno.h>
#include "../../util/kvm-stat.h"
#include <asm/sie.h>
Go to the source code of this file.
|
| define_exit_reasons_table (sie_exit_reasons, sie_intercept_code) |
|
| define_exit_reasons_table (sie_icpt_insn_codes, icpt_insn_codes) |
|
| define_exit_reasons_table (sie_sigp_order_codes, sigp_order_codes) |
|
| define_exit_reasons_table (sie_diagnose_codes, diagnose_codes) |
|
| define_exit_reasons_table (sie_icpt_prog_codes, icpt_prog_codes) |
|
static void | event_icpt_insn_get_key (struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key) |
|
static void | event_sigp_get_key (struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key) |
|
static void | event_diag_get_key (struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key) |
|
static void | event_icpt_prog_get_key (struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key) |
|
int | cpu_isa_init (struct perf_kvm_stat *kvm, const char *cpuid) |
|
◆ cpu_isa_init()
int cpu_isa_init |
( |
struct perf_kvm_stat * |
kvm, |
|
|
const char * |
cpuid |
|
) |
| |
◆ define_exit_reasons_table() [1/5]
define_exit_reasons_table |
( |
sie_exit_reasons |
, |
|
|
sie_intercept_code |
|
|
) |
| |
◆ define_exit_reasons_table() [2/5]
define_exit_reasons_table |
( |
sie_icpt_insn_codes |
, |
|
|
icpt_insn_codes |
|
|
) |
| |
◆ define_exit_reasons_table() [3/5]
define_exit_reasons_table |
( |
sie_sigp_order_codes |
, |
|
|
sigp_order_codes |
|
|
) |
| |
◆ define_exit_reasons_table() [4/5]
define_exit_reasons_table |
( |
sie_diagnose_codes |
, |
|
|
diagnose_codes |
|
|
) |
| |
◆ define_exit_reasons_table() [5/5]
define_exit_reasons_table |
( |
sie_icpt_prog_codes |
, |
|
|
icpt_prog_codes |
|
|
) |
| |
◆ event_diag_get_key()
◆ event_icpt_insn_get_key()
◆ event_icpt_prog_get_key()
◆ event_sigp_get_key()
◆ child_events
Initial value:= {
{ .name = "kvm:kvm_s390_intercept_instruction",
{ .name = "kvm:kvm_s390_handle_sigp",
{ .name = "kvm:kvm_s390_handle_diag",
{ .name = "kvm:kvm_s390_intercept_prog",
{ NULL, NULL },
}
static void event_icpt_prog_get_key(struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key)
static void event_sigp_get_key(struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key)
static void event_icpt_insn_get_key(struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key)
static void event_diag_get_key(struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key)
Definition at line 63 of file kvm-stat.c.
◆ decode_str_len
const int decode_str_len = 40 |
◆ exit_events
Initial value:= {
.name = "VM-EXIT"
}
static struct child_event_ops child_events[]
bool exit_event_begin(struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key)
void exit_event_decode_key(struct perf_kvm_stat *kvm, struct event_key *key, char *decode)
bool exit_event_end(struct perf_evsel *evsel, struct perf_sample *sample, struct event_key *key)
Definition at line 75 of file kvm-stat.c.
◆ kvm_entry_trace
const char* kvm_entry_trace = "kvm:kvm_s390_sie_enter" |
◆ kvm_events_tp
const char* kvm_events_tp[] |
Initial value:= {
"kvm:kvm_s390_sie_enter",
"kvm:kvm_s390_sie_exit",
"kvm:kvm_s390_intercept_instruction",
"kvm:kvm_s390_handle_sigp",
"kvm:kvm_s390_handle_diag",
"kvm:kvm_s390_intercept_prog",
NULL,
}
Definition at line 83 of file kvm-stat.c.
◆ kvm_exit_reason
const char* kvm_exit_reason = "icptcode" |
◆ kvm_exit_trace
const char* kvm_exit_trace = "kvm:kvm_s390_sie_exit" |
◆ kvm_reg_events_ops
Initial value:= {
{ NULL, NULL },
}
static struct kvm_events_ops exit_events
Definition at line 93 of file kvm-stat.c.
◆ kvm_skip_events
const char* const kvm_skip_events[] |
◆ vcpu_id_str
const char* vcpu_id_str = "id" |