| /linux/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 86 static void intel_bts_dump(struct intel_bts *bts __maybe_unused, in intel_bts_dump() 124 static void intel_bts_dump_event(struct intel_bts *bts, unsigned char *buf, in intel_bts_dump_event() argument 128 intel_bts_dump(bts, buf, len); in intel_bts_dump_event() 131 static int intel_bts_lost(struct intel_bts *bts, struct perf_sample *sample) in intel_bts_lost() argument 140 err = perf_session__deliver_synth_event(bts->session, &event, NULL); in intel_bts_lost() 148 static struct intel_bts_queue *intel_bts_alloc_queue(struct intel_bts *bts, in intel_bts_alloc_queue() argument 157 btsq->bts in intel_bts_alloc_queue() 166 intel_bts_setup_queue(struct intel_bts * bts,struct auxtrace_queue * queue,unsigned int queue_nr) intel_bts_setup_queue() argument 206 intel_bts_setup_queues(struct intel_bts * bts) intel_bts_setup_queues() argument 220 intel_bts_update_queues(struct intel_bts * bts) intel_bts_update_queues() argument 265 intel_bts_cpumode(struct intel_bts * bts,uint64_t ip) intel_bts_cpumode() argument 276 struct intel_bts *bts = btsq->bts; intel_bts_synth_branch_sample() local 346 intel_bts_synth_error(struct intel_bts * bts,int cpu,pid_t pid,pid_t tid,u64 ip) intel_bts_synth_error() argument 539 intel_bts_process_tid_exit(struct intel_bts * bts,pid_t tid) intel_bts_process_tid_exit() argument 554 intel_bts_process_queues(struct intel_bts * bts,u64 timestamp) intel_bts_process_queues() argument 598 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, intel_bts_process_event() local 641 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, intel_bts_process_auxtrace_event() local 682 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, intel_bts_flush() local 710 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, intel_bts_free_events() local 724 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, intel_bts_free() local 736 struct intel_bts *bts = container_of(session->auxtrace, struct intel_bts, intel_bts_evsel_is_auxtrace() local 742 intel_bts_synth_events(struct intel_bts * bts,struct perf_session * session) intel_bts_synth_events() argument 833 struct intel_bts *bts; intel_bts_process_auxtrace_info() local [all...] |
| H A D | Build | 137 perf-util-y += intel-bts.o
|
| /linux/arch/x86/events/intel/ |
| H A D | bts.c | 181 static void bts_update(struct bts_ctx *bts) in bts_buffer_pad_out() 185 struct bts_buffer *bb = perf_get_aux(&bts->handle); in bts_update() 199 perf_aux_output_flag(&bts->handle, in bts_update() 213 * BTS updating is ordered against bts::handle::event. in bts_update() 223 * of bts::state, which: 224 * - is set when bts::handle::event is valid, that is, between 227 * - is ordered against bts::handle::event with a compiler barrier. 232 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); 233 struct bts_buffer *bb = perf_get_aux(&bts->handle); in __bts_event_start() 247 * before we enable BTS and bts in __bts_event_start() 184 bts_update(struct bts_ctx * bts) bts_update() argument 235 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); __bts_event_start() local 264 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); bts_event_start() local 294 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); __bts_event_stop() local 309 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); bts_event_stop() local 342 struct bts_ctx *bts; intel_bts_enable_local() local 367 struct bts_ctx *bts; intel_bts_disable_local() local 464 struct bts_ctx *bts; intel_bts_interrupt() local 537 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); bts_event_add() local [all...] |
| H A D | Makefile | 2 obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o
|
| H A D | ds.c | 938 if (!x86_pmu.bts) in alloc_bts_buffer() 965 if (!x86_pmu.bts) in release_bts_buffer() 993 if (!x86_pmu.bts && !x86_pmu.ds_pebs) in release_ds_buffers() 1025 if (!x86_pmu.bts && !x86_pmu.ds_pebs) in reserve_ds_buffers() 1028 if (!x86_pmu.bts) in reserve_ds_buffers() 1065 if (x86_pmu.bts && !bts_err) in reserve_ds_buffers() 3582 if (!x86_pmu.bts && !x86_pmu.ds_pebs) in perf_restore_debug_store()
|
| H A D | core.c | 2769 static __always_inline void __intel_pmu_disable_all(bool bts) in __intel_pmu_disable_all() argument 2775 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all() 4791 /* disallow bts if conflicting events are present */ in core_pmu_hw_config()
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_vm.c | 43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_range() 52 if (!vm->bts[pbe].cpu) { in lima_vm_map_page() 57 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page() 59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); in lima_vm_map_page() 60 if (!vm->bts[pbe].cpu) in lima_vm_map_page() 63 pts = vm->bts[pbe].dma; in lima_vm_map_page() 71 vm->bts[pbe].cpu[bte] = pa | LIMA_VM_FLAGS_CACHE; in lima_vm_map_page() 243 if (vm->bts[i].cpu) in lima_vm_release() 245 vm->bts[i].cpu, vm->bts[i].dma); in lima_vm_release() 264 if (!vm->bts[i].cpu) in lima_vm_print() [all …]
|
| H A D | lima_vm.h | 38 struct lima_vm_page bts[LIMA_VM_NUM_BT]; member
|
| /linux/arch/x86/include/asm/ |
| H A D | bitops.h | 60 asm_inline volatile(LOCK_PREFIX __ASM_SIZE(bts) " %1,%0" in arch_set_bit() 68 asm volatile(__ASM_SIZE(bts) " %1,%0" : : ADDR, "Ir" (nr) : "memory"); in arch___set_bit() 136 return GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, c, "Ir", nr); in arch_test_and_set_bit() 150 asm(__ASM_SIZE(bts) " %2,%1" in arch___test_and_set_bit()
|
| H A D | nospec-branch.h | 86 bts $63, %rax; \
|
| /linux/tools/arch/x86/include/asm/ |
| H A D | atomic.h | 76 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, "Ir", nr, "%0", "c"); in test_and_set_bit()
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | Build | 13 perf-util-y += intel-bts.o
|
| /linux/arch/x86/realmode/rm/ |
| H A D | trampoline_64.S | 146 bts $MSR_AMD64_SYSCFG_MEM_ENCRYPT_BIT, %eax
|
| /linux/arch/x86/entry/ |
| H A D | calling.h | 164 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.c | 4033 u64 packets, bytes, pkts, bts; in idpf_vport_intr_update_itr_ena_irq() 4046 bts = u64_stats_read(&txq->q_stats.bytes); in idpf_vport_intr_req_irq() 4050 bytes += bts; in idpf_vport_intr_req_irq() 4068 bts = u64_stats_read(&rxq->q_stats.bytes); in idpf_vport_intr_req_irq() 4072 bytes += bts; in idpf_vport_intr_req_irq() 3968 u64 packets, bytes, pkts, bts; idpf_net_dim() local
|
| /linux/fs/btrfs/ |
| H A D | send.c | 713 struct btrfs_timespec bts; in tlv_put_btrfs_timespec() local 714 read_extent_buffer(eb, &bts, (unsigned long)ts, sizeof(bts)); in tlv_put_btrfs_timespec() 715 return tlv_put(sctx, attr, &bts, sizeof(bts)); in tlv_put_btrfs_timespec()
|
| /linux/arch/x86/events/ |
| H A D | perf_event.h | 1130 unsigned int bts :1, member
|