17 #include <perfmon/perfmon.h> 24 int row = va_arg (*args,
int);
48 .name =
"branch-mispred",
49 .description =
"Branches, branches taken and mis-predictions",
50 .source =
"intel-core",
52 .events[0] = INTEL_CORE_E_BR_INST_RETIRED_ALL_BRANCHES,
53 .events[1] = INTEL_CORE_E_BR_INST_RETIRED_NEAR_TAKEN,
54 .events[2] = INTEL_CORE_E_BR_MISP_RETIRED_ALL_BRANCHES,
58 "Taken/call",
"Taken/pkt",
"% MisPred"),
description fragment has unexpected format
#define PERFMON_STRINGS(...)
PERFMON_REGISTER_BUNDLE(branch_mispredictions)
static u8 * format_branch_mispredictions(u8 *s, va_list *args)
u64 value[PERF_MAX_EVENTS]