Home
last modified time | relevance | path

Searched refs:TRACE_BUF_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_trace_buffer.h58 #define TRACE_BUF_SIZE (1024) //1 kB macro
59 #define PERF_TRACE_MAX_ENTRY ((TRACE_BUF_SIZE - 8)/sizeof(struct dmcub_trace_buf_entry))
/linux-6.1.9/kernel/trace/
Dtrace.c3260 char buffer[4][TRACE_BUF_SIZE];
3399 len = vbin_printf((u32 *)tbuffer, TRACE_BUF_SIZE/sizeof(int), fmt, args); in trace_vbprintk()
3401 if (len > TRACE_BUF_SIZE/sizeof(int) || len < 0) in trace_vbprintk()
3462 len = vscnprintf(tbuffer, TRACE_BUF_SIZE, fmt, args); in __trace_array_vprintk()
7144 if (cnt > TRACE_BUF_SIZE) in tracing_mark_write()
7145 cnt = TRACE_BUF_SIZE; in tracing_mark_write()
7147 BUILD_BUG_ON(TRACE_BUF_SIZE >= PAGE_SIZE); in tracing_mark_write()
7222 if (cnt > TRACE_BUF_SIZE) in tracing_mark_raw_write()
7223 cnt = TRACE_BUF_SIZE; in tracing_mark_raw_write()
7225 BUILD_BUG_ON(TRACE_BUF_SIZE >= PAGE_SIZE); in tracing_mark_raw_write()
Dtrace.h147 #define TRACE_BUF_SIZE 1024 macro