Lines Matching +full:fixed +full:- +full:mode

1 /* SPDX-License-Identifier: GPL-2.0 */
207 /* Counters Sub-Leaf */
209 /* Auto Counter Reload Sub-Leaf */
211 /* Events Sub-Leaf */
222 /* EQ-bit Supported */
237 /* Deep C-state Reset */
251 /* Call-stack Mode Supported */
302 * Fixed-purpose performance events:
305 /* RDPMC offset for Fixed PMCs */
310 * All the fixed-mode PMCs are configured via this single MSR:
315 * There is no event-code assigned to the fixed-mode PMCs.
317 * For a fixed-mode PMC, which has an equivalent event on a general-purpose
318 * PMC, the event-code of the equivalent event is used for the fixed-mode PMC,
321 * For a fixed-mode PMC, which doesn't have an equivalent event, a
322 * pseudo-encoding is used, e.g., CPU_CLK_Unhalted.Ref and TOPDOWN.SLOTS.
323 * The pseudo event-code for a fixed-mode PMC must be 0x00.
324 * The pseudo umask-code is 0xX. The X equals the index of the fixed
325 * counter + 1, e.g., the fixed counter 2 has the pseudo-encoding 0x0300.
338 /* CPU_CLK_Unhalted.Ref: event=0x00,umask=0x3 (pseudo-encoding) */
343 /* TOPDOWN.SLOTS: event=0x00,umask=0x4 (pseudo-encoding) */
348 /* TOPDOWN_BAD_SPECULATION.ALL: fixed counter 4 (Atom only) */
349 /* TOPDOWN_FE_BOUND.ALL: fixed counter 5 (Atom only) */
350 /* TOPDOWN_RETIRING.ALL: fixed counter 6 (Atom only) */
358 * We model BTS tracing as another fixed-mode PMC.
360 * We choose the value 47 for the fixed index of BTS, since lower
361 * values are used by actual fixed events and higher values are used
367 * The PERF_METRICS MSR is modeled as several magic fixed-mode PMCs, one for
386 * There is no event-code assigned to the TopDown events.
388 * For the slots event, use the pseudo code of the fixed counter 3.
390 * For the metric events, the pseudo event-code is 0x00.
391 * The pseudo umask-code starts from the middle of the pseudo event
414 return (unsigned)(idx - INTEL_PMC_IDX_METRIC_BASE) < INTEL_TD_METRIC_NUM; in is_metric_idx()
439 * We model guest LBR event tracing as another fixed-mode PMC like BTS.
452 * Pseudo-encoding the guest LBR event as event=0x00,umask=0x1b,
498 u32 fixed; member
578 static inline int forward_event_to_ibs(struct perf_event *event) { return -ENOENT; } in forward_event_to_ibs()
589 * EXACT - the IP points to the exact instruction that triggered the
591 * VM - original X86_VM_MASK; see set_linear_ip().
615 (regs)->ip = (__ip); \
616 (regs)->sp = (unsigned long)__builtin_frame_address(0); \
617 (regs)->cs = __KERNEL_CS; \
618 regs->flags = 0; \