Searched refs:bts (Results 1 – 6 of 6) sorted by relevance
196 static bool bts_buffer_is_full(struct bts_buffer *buf, struct bts_ctx *bts) in bts_buffer_is_full() argument201 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() argument212 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() local241 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() local275 ACCESS_ONCE(bts->started) = 1; in bts_event_start()[all …]
367 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()
588 unsigned int bts :1, member
80 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()
73 bts $_EFER_SCE, %eax77 bts $_EFER_NX, %eax
988 FASTOP2W(bts);