Home
last modified time | relevance | path

Searched refs:BTS_RECORD_SIZE (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dbts.c41 #define BTS_RECORD_SIZE 24 macro
52 size_t real_size; /* multiple of BTS_RECORD_SIZE */
112 buf->real_size = size - size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
121 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
123 pad = buf->buf[nbuf].size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
162 else if (end - index > BTS_RECORD_SIZE) in bts_config_buffer()
163 thresh = end - BTS_RECORD_SIZE; in bts_config_buffer()
173 : ds->bts_absolute_maximum + BTS_RECORD_SIZE; in bts_config_buffer()
386 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset()
401 next_space -= next_space % BTS_RECORD_SIZE; in bts_buffer_reset()
[all...]
H A Dds.c18 #define BTS_RECORD_SIZE 24 macro
412 max = BTS_BUFFER_SIZE / BTS_RECORD_SIZE; in alloc_bts_buffer()
414 max * BTS_RECORD_SIZE; in alloc_bts_buffer()
416 (max / 16) * BTS_RECORD_SIZE; in alloc_bts_buffer()
623 * n <= 2560 (BTS_BUFFER_SIZE / BTS_RECORD_SIZE * 15/16; see the in intel_pmu_drain_bts_buffer()
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dbts.c41 #define BTS_RECORD_SIZE 24 macro
52 size_t real_size; /* multiple of BTS_RECORD_SIZE */
112 buf->real_size = size - size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
121 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
123 pad = buf->buf[nbuf].size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
162 else if (end - index > BTS_RECORD_SIZE) in bts_config_buffer()
163 thresh = end - BTS_RECORD_SIZE; in bts_config_buffer()
173 : ds->bts_absolute_maximum + BTS_RECORD_SIZE; in bts_config_buffer()
392 space -= space % BTS_RECORD_SIZE; in bts_buffer_reset()
407 next_space -= next_space % BTS_RECORD_SIZE; in bts_buffer_reset()
[all...]
H A Dds.c20 #define BTS_RECORD_SIZE 24 macro
586 max = BTS_BUFFER_SIZE / BTS_RECORD_SIZE; in alloc_bts_buffer()
588 max * BTS_RECORD_SIZE; in alloc_bts_buffer()
590 (max / 16) * BTS_RECORD_SIZE; in alloc_bts_buffer()
797 * n <= 2560 (BTS_BUFFER_SIZE / BTS_RECORD_SIZE * 15/16; see the in intel_pmu_drain_bts_buffer()

Completed in 8 milliseconds