Searched refs:trace_buffer (Results 1 – 4 of 4) sorted by relevance
/tools/testing/selftests/powerpc/pmu/ebb/ |
D | trace.h | 24 struct trace_buffer struct 32 struct trace_buffer *trace_buffer_allocate(u64 size); argument 33 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value); 34 int trace_log_counter(struct trace_buffer *tb, u64 value); 35 int trace_log_string(struct trace_buffer *tb, char *str); 36 int trace_log_indent(struct trace_buffer *tb); 37 int trace_log_outdent(struct trace_buffer *tb); 38 void trace_buffer_print(struct trace_buffer *tb); 39 void trace_print_location(struct trace_buffer *tb);
|
D | trace.c | 15 struct trace_buffer *trace_buffer_allocate(u64 size) in trace_buffer_allocate() 17 struct trace_buffer *tb; in trace_buffer_allocate() 38 static bool trace_check_bounds(struct trace_buffer *tb, void *p) in trace_check_bounds() 43 static bool trace_check_alloc(struct trace_buffer *tb, void *p) in trace_check_alloc() 62 static void *trace_alloc(struct trace_buffer *tb, int bytes) in trace_alloc() 76 static struct trace_entry *trace_alloc_entry(struct trace_buffer *tb, int payload_size) in trace_alloc_entry() 87 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) in trace_log_reg() 104 int trace_log_counter(struct trace_buffer *tb, u64 value) in trace_log_counter() 120 int trace_log_string(struct trace_buffer *tb, char *str) in trace_log_string() 142 int trace_log_indent(struct trace_buffer *tb) in trace_log_indent() [all …]
|
D | ebb.h | 29 struct trace_buffer *trace;
|
/tools/testing/selftests/filesystems/fuse/ |
D | fuse_test.c | 94 char trace_buffer[4096] = {}; in bpf_test_trace_maybe() local 103 bytes_read = read(tp, trace_buffer, sizeof(trace_buffer)); in bpf_test_trace_maybe() 112 ksft_print_msg("%s\n", trace_buffer); in bpf_test_trace_maybe() 114 if (strstr(trace_buffer, substr)) { in bpf_test_trace_maybe()
|