Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 7 of 7) sorted by relevance

/kernel/trace/rv/
Drv.c216 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 …]
Drv_reactors.c190 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/
Ddisasm.c18 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/
Dtrace_events_filter.c1083 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()
Dtrace_events_trigger.c247 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()
Dtrace.h1515 filter_parse_regex(char *buff, int len, char **search, int *not);
1960 extern int trigger_process_regex(struct trace_event_file *file, char *buff);
Dftrace.c4341 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()