/linux-master/tools/perf/util/ |
H A D | intel-bts.c | 3 * intel-bts.c: Intel Processor Trace support 30 #include "intel-bts.h" 67 struct intel_bts *bts; member in struct:intel_bts_queue 86 static void intel_bts_dump(struct intel_bts *bts __maybe_unused, 124 static void intel_bts_dump_event(struct intel_bts *bts, unsigned char *buf, argument 128 intel_bts_dump(bts, buf, len); 131 static int intel_bts_lost(struct intel_bts *bts, struct perf_sample *sample) argument 140 err = perf_session__deliver_synth_event(bts->session, &event, NULL); 148 static struct intel_bts_queue *intel_bts_alloc_queue(struct intel_bts *bts, argument 157 btsq->bts 166 intel_bts_setup_queue(struct intel_bts *bts, struct auxtrace_queue *queue, unsigned int queue_nr) argument 206 intel_bts_setup_queues(struct intel_bts *bts) argument 220 intel_bts_update_queues(struct intel_bts *bts) argument 265 intel_bts_cpumode(struct intel_bts *bts, uint64_t ip) argument 276 struct intel_bts *bts = btsq->bts; local 344 intel_bts_synth_error(struct intel_bts *bts, int cpu, pid_t pid, pid_t tid, u64 ip) argument 537 intel_bts_process_tid_exit(struct intel_bts *bts, pid_t tid) argument 552 intel_bts_process_queues(struct intel_bts *bts, u64 timestamp) argument 596 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, local 639 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, local 680 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, local 708 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, local 722 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, local 734 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, local 769 intel_bts_synth_events(struct intel_bts *bts, struct perf_session *session) argument 862 struct intel_bts *bts; local [all...] |
/linux-master/arch/x86/events/intel/ |
H A D | bts.c | 183 static void bts_update(struct bts_ctx *bts) argument 187 struct bts_buffer *buf = perf_get_aux(&bts->handle); 201 perf_aux_output_flag(&bts->handle, 215 * BTS updating is ordered against bts::handle::event. 225 * of bts::state, which: 226 * - is set when bts::handle::event is valid, that is, between 229 * - is ordered against bts::handle::event with a compiler barrier. 234 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local 235 struct bts_buffer *buf = perf_get_aux(&bts->handle); 249 * before we enable BTS and bts 263 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local 293 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local 308 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local 341 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local 361 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local 453 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local 521 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); local [all...] |
H A D | Makefile | 2 obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o
|
H A D | ds.c | 573 if (!x86_pmu.bts) 600 if (!x86_pmu.bts) 628 if (!x86_pmu.bts && !x86_pmu.pebs) 657 if (!x86_pmu.bts && !x86_pmu.pebs) 660 if (!x86_pmu.bts) 696 if (x86_pmu.bts && !bts_err) 2334 x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); 2427 if (!x86_pmu.bts && !x86_pmu.pebs)
|
H A D | core.c | 2220 static __always_inline void __intel_pmu_disable_all(bool bts) argument 2226 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) 3832 /* disallow bts if conflicting events are present */
|
/linux-master/arch/x86/include/asm/ |
H A D | sync_bitops.h | 34 asm volatile("lock; " __ASM_SIZE(bts) " %1,%0" 85 return GEN_BINARY_RMWcc("lock; " __ASM_SIZE(bts), *addr, c, "Ir", nr);
|
H A D | bitops.h | 60 asm volatile(LOCK_PREFIX __ASM_SIZE(bts) " %1,%0" 68 asm volatile(__ASM_SIZE(bts) " %1,%0" : : ADDR, "Ir" (nr) : "memory"); 137 return GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, c, "Ir", nr); 151 asm(__ASM_SIZE(bts) " %2,%1"
|
H A D | nospec-branch.h | 85 bts $63, %rax; \
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_vm.c | 43 vm->bts[pbe].cpu[bte] = 0; 52 if (!vm->bts[pbe].cpu) { 57 vm->bts[pbe].cpu = dma_alloc_wc( 59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); 60 if (!vm->bts[pbe].cpu) 63 pts = vm->bts[pbe].dma; 71 vm->bts[pbe].cpu[bte] = pa | LIMA_VM_FLAGS_CACHE; 243 if (vm->bts[i].cpu) 245 vm->bts[i].cpu, vm->bts[ [all...] |
H A D | lima_vm.h | 38 struct lima_vm_page bts[LIMA_VM_NUM_BT]; member in struct:lima_vm
|
/linux-master/tools/arch/x86/include/asm/ |
H A D | atomic.h | 76 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, "Ir", nr, "%0", "c");
|
/linux-master/arch/x86/realmode/rm/ |
H A D | trampoline_64.S | 146 bts $MSR_AMD64_SYSCFG_MEM_ENCRYPT_BIT, %eax
|
/linux-master/arch/x86/entry/ |
H A D | calling.h | 163 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
|
/linux-master/arch/x86/boot/compressed/ |
H A D | head_64.S | 188 bts %eax, %edx /* Set encryption mask for page tables */
|
/linux-master/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 495 * @bts: svs efuse data 539 u16 bts; member in struct:svs_bank 1266 ts_calcs = FIELD_PREP(SVSB_TSCALCS_FLD_BTS, svsb->bts) | 1955 svsb->bts = (((500 * golden_temp + svsp->ts_coeff) / 1000) - 25) * 4; 2109 svsb->bts = (temp0 + temp2 - 250) * 4 / 10;
|
/linux-master/arch/x86/events/ |
H A D | perf_event.h | 843 unsigned int bts :1, member in struct:x86_pmu
|
/linux-master/fs/btrfs/ |
H A D | send.c | 709 struct btrfs_timespec bts; local 710 read_extent_buffer(eb, &bts, (unsigned long)ts, sizeof(bts)); 711 return tlv_put(sctx, attr, &bts, sizeof(bts));
|
/linux-master/arch/x86/kvm/ |
H A D | emulate.c | 1041 FASTOP2W(bts); variable
|