Home
last modified time | relevance | path

Searched refs:bts (Results 1 – 15 of 15) sorted by relevance

/linux/tools/perf/util/
H A Dintel-bts.c3 * 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 DBuild139 perf-util-y += intel-bts.o
/linux/arch/x86/events/intel/
H A Dbts.c184 static void bts_update(struct bts_ctx *bts) in bts_update() argument
188 struct bts_buffer *bb = perf_get_aux(&bts->handle); in bts_update()
202 perf_aux_output_flag(&bts->handle, in bts_update()
235 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); in __bts_event_start() local
236 struct bts_buffer *bb = perf_get_aux(&bts->handle); in __bts_event_start()
255 WRITE_ONCE(bts->state, BTS_STATE_ACTIVE); in __bts_event_start()
264 struct bts_ctx *bts = this_cpu_ptr(bts_ctx); in bts_event_start() local
267 bb = perf_aux_output_begin(&bts->handle, event); in bts_event_start()
271 if (bts_buffer_reset(bb, &bts->handle)) in bts_event_start()
274 bts->ds_back.bts_buffer_base = cpuc->ds->bts_buffer_base; in bts_event_start()
[all …]
H A DMakefile2 obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o
H A Dcore.c2760 static __always_inline void __intel_pmu_disable_all(bool bts) in __intel_pmu_disable_all() argument
2766 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all()
/linux/drivers/gpu/drm/lima/
H A Dlima_vm.c43 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 Dlima_vm.h38 struct lima_vm_page bts[LIMA_VM_NUM_BT]; member
/linux/arch/x86/include/asm/
H A Dbitops.h60 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 Dnospec-branch.h86 bts $63, %rax; \
/linux/tools/arch/x86/include/asm/
H A Datomic.h76 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 DBuild13 perf-util-y += intel-bts.o
/linux/arch/x86/realmode/rm/
H A Dtrampoline_64.S146 bts $MSR_AMD64_SYSCFG_MEM_ENCRYPT_BIT, %eax
/linux/arch/x86/entry/
H A Dcalling.h164 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c3964 u64 packets, bytes, pkts, bts; in idpf_net_dim() local
3977 bts = u64_stats_read(&txq->q_stats.bytes); in idpf_net_dim()
3981 bytes += bts; in idpf_net_dim()
3999 bts = u64_stats_read(&rxq->q_stats.bytes); in idpf_net_dim()
4003 bytes += bts; in idpf_net_dim()
/linux/fs/btrfs/
H A Dsend.c713 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()