/kernel/trace/rv/ |
D | rv.c | 216 const char *buff; in monitor_enable_read_data() local 218 buff = mdef->monitor->enabled ? "1\n" : "0\n"; in monitor_enable_read_data() 220 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff)+1); in monitor_enable_read_data() 321 char buff[256]; in monitor_desc_read_data() local 323 memset(buff, 0, sizeof(buff)); in monitor_desc_read_data() 325 snprintf(buff, sizeof(buff), "%s\n", mdef->monitor->description); in monitor_desc_read_data() 327 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff) + 1); in monitor_desc_read_data() 515 char buff[MAX_RV_MONITOR_NAME_SIZE + 2]; in enabled_monitors_write() local 525 memset(buff, 0, sizeof(buff)); in enabled_monitors_write() 527 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count); in enabled_monitors_write() [all …]
|
D | rv_reactors.c | 190 char buff[MAX_RV_REACTOR_NAME_SIZE + 2]; in monitor_reactors_write() local 202 memset(buff, 0, sizeof(buff)); in monitor_reactors_write() 204 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count); in monitor_reactors_write() 208 ptr = strim(buff); in monitor_reactors_write() 378 char *buff; in reacting_on_read_data() local 380 buff = rv_reacting_on() ? "1\n" : "0\n"; in reacting_on_read_data() 382 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff)+1); in reacting_on_read_data()
|
/kernel/bpf/ |
D | disasm.c | 18 char *buff, size_t len) in __func_get_name() argument 36 snprintf(buff, len, "%+d", insn->imm); in __func_get_name() 38 snprintf(buff, len, "kernel-function"); in __func_get_name() 40 return buff; in __func_get_name() 45 u64 full_imm, char *buff, size_t len) in __func_imm_name() argument 50 snprintf(buff, len, "0x%llx", (unsigned long long)full_imm); in __func_imm_name() 51 return buff; in __func_imm_name()
|
/kernel/trace/ |
D | trace_events_filter.c | 1083 enum regex_type filter_parse_regex(char *buff, int len, char **search, int *not) in filter_parse_regex() argument 1088 if (buff[0] == '!') { in filter_parse_regex() 1090 buff++; in filter_parse_regex() 1095 *search = buff; in filter_parse_regex() 1097 if (isdigit(buff[0])) in filter_parse_regex() 1101 if (buff[i] == '*') { in filter_parse_regex() 1109 buff[i] = 0; in filter_parse_regex() 1114 } else if (strchr("[?\\", buff[i])) { in filter_parse_regex() 1118 if (buff[0] == '*') in filter_parse_regex() 1119 *search = buff + 1; in filter_parse_regex()
|
D | trace_events_trigger.c | 247 int trigger_process_regex(struct trace_event_file *file, char *buff) in trigger_process_regex() argument 253 next = buff = skip_spaces(buff); in trigger_process_regex() 265 ret = p->parse(p, file, buff, command, next); in trigger_process_regex()
|
D | trace.h | 1515 filter_parse_regex(char *buff, int len, char **search, int *not); 1960 extern int trigger_process_regex(struct trace_event_file *file, char *buff);
|
D | ftrace.c | 4341 ftrace_match_records(struct ftrace_hash *hash, char *buff, int len) in ftrace_match_records() argument 4343 return match_records(hash, buff, len, NULL); in ftrace_match_records() 5129 char *buff, int len, int enable) in ftrace_process_regex() argument 5133 char *func, *command, *next = buff; in ftrace_process_regex()
|