ds.c (9938b04472d5c59f8bd8152a548533a8599596a2) ds.c (8b92c3a78d40fb220dc5ab122e3274d1b126bfbb)
1#include <linux/bitops.h>
2#include <linux/types.h>
3#include <linux/slab.h>
4
5#include <asm/perf_event.h>
6#include <asm/insn.h>
7
8#include "../perf_event.h"

--- 631 unchanged lines hidden (view full) ---

640struct event_constraint intel_slm_pebs_event_constraints[] = {
641 /* INST_RETIRED.ANY_P, inv=1, cmask=16 (cycles:p). */
642 INTEL_FLAGS_EVENT_CONSTRAINT(0x108000c0, 0x1),
643 /* Allow all events as PEBS with no flags */
644 INTEL_ALL_EVENT_CONSTRAINT(0, 0x1),
645 EVENT_CONSTRAINT_END
646};
647
1#include <linux/bitops.h>
2#include <linux/types.h>
3#include <linux/slab.h>
4
5#include <asm/perf_event.h>
6#include <asm/insn.h>
7
8#include "../perf_event.h"

--- 631 unchanged lines hidden (view full) ---

640struct event_constraint intel_slm_pebs_event_constraints[] = {
641 /* INST_RETIRED.ANY_P, inv=1, cmask=16 (cycles:p). */
642 INTEL_FLAGS_EVENT_CONSTRAINT(0x108000c0, 0x1),
643 /* Allow all events as PEBS with no flags */
644 INTEL_ALL_EVENT_CONSTRAINT(0, 0x1),
645 EVENT_CONSTRAINT_END
646};
647
648struct event_constraint intel_glm_pebs_event_constraints[] = {
649 /* Allow all events as PEBS with no flags */
650 INTEL_ALL_EVENT_CONSTRAINT(0, 0x1),
651 EVENT_CONSTRAINT_END
652};
653
648struct event_constraint intel_nehalem_pebs_event_constraints[] = {
649 INTEL_PLD_CONSTRAINT(0x100b, 0xf), /* MEM_INST_RETIRED.* */
650 INTEL_FLAGS_EVENT_CONSTRAINT(0x0f, 0xf), /* MEM_UNCORE_RETIRED.* */
651 INTEL_FLAGS_UEVENT_CONSTRAINT(0x010c, 0xf), /* MEM_STORE_RETIRED.DTLB_MISS */
652 INTEL_FLAGS_EVENT_CONSTRAINT(0xc0, 0xf), /* INST_RETIRED.ANY */
653 INTEL_EVENT_CONSTRAINT(0xc2, 0xf), /* UOPS_RETIRED.* */
654 INTEL_FLAGS_EVENT_CONSTRAINT(0xc4, 0xf), /* BR_INST_RETIRED.* */
655 INTEL_FLAGS_UEVENT_CONSTRAINT(0x02c5, 0xf), /* BR_MISP_RETIRED.NEAR_CALL */

--- 758 unchanged lines hidden ---
654struct event_constraint intel_nehalem_pebs_event_constraints[] = {
655 INTEL_PLD_CONSTRAINT(0x100b, 0xf), /* MEM_INST_RETIRED.* */
656 INTEL_FLAGS_EVENT_CONSTRAINT(0x0f, 0xf), /* MEM_UNCORE_RETIRED.* */
657 INTEL_FLAGS_UEVENT_CONSTRAINT(0x010c, 0xf), /* MEM_STORE_RETIRED.DTLB_MISS */
658 INTEL_FLAGS_EVENT_CONSTRAINT(0xc0, 0xf), /* INST_RETIRED.ANY */
659 INTEL_EVENT_CONSTRAINT(0xc2, 0xf), /* UOPS_RETIRED.* */
660 INTEL_FLAGS_EVENT_CONSTRAINT(0xc4, 0xf), /* BR_INST_RETIRED.* */
661 INTEL_FLAGS_UEVENT_CONSTRAINT(0x02c5, 0xf), /* BR_MISP_RETIRED.NEAR_CALL */

--- 758 unchanged lines hidden ---