Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c196 static bool bts_buffer_is_full(struct bts_buffer *buf, struct bts_ctx *bts) in bts_buffer_is_full() argument
201 if (local_read(&buf->data_size) >= bts->handle.size || in bts_buffer_is_full()
202 bts->handle.size - local_read(&buf->data_size) < BTS_RECORD_SIZE) in bts_buffer_is_full()
208 static void bts_update(struct bts_ctx *bts) in bts_update() argument
212 struct bts_buffer *buf = perf_get_aux(&bts->handle); in bts_update()
240 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in __bts_event_start() local
241 struct bts_buffer *buf = perf_get_aux(&bts->handle); in __bts_event_start()
244 if (!buf || bts_buffer_is_full(buf, bts)) in __bts_event_start()
270 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in bts_event_start() local
275 ACCESS_ONCE(bts->started) = 1; in bts_event_start()
[all …]
Dperf_event_intel_ds.c367 if (!x86_pmu.bts) in alloc_bts_buffer()
393 if (!ds || !x86_pmu.bts) in release_bts_buffer()
424 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
447 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
450 if (!x86_pmu.bts) in reserve_ds_buffers()
488 if (x86_pmu.bts && !bts_err) in reserve_ds_buffers()
1346 x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); in intel_ds_init()
1399 if (!x86_pmu.bts && !x86_pmu.pebs) in perf_restore_debug_store()
Dperf_event.h588 unsigned int bts :1, member
/arch/x86/include/asm/
Dbitops.h80 asm volatile(LOCK_PREFIX __ASM_SIZE(bts) " %1,%0" in set_bit()
96 asm volatile(__ASM_SIZE(bts) " %1,%0" : ADDR : "Ir" (nr) : "memory"); in __set_bit()
206 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), in test_and_set_bit()
236 asm(__ASM_SIZE(bts) " %2,%1\n\t" in __test_and_set_bit()
/arch/x86/xen/
Dxen-head.S73 bts $_EFER_SCE, %eax
77 bts $_EFER_NX, %eax
/arch/x86/kvm/
Demulate.c988 FASTOP2W(bts);