Lines Matching refs:line_buf
158 static void do_trace_enable_events(const char *line_buf) in do_trace_enable_events() argument
160 const bool enable = ('-' != line_buf[0]); in do_trace_enable_events()
161 const char *line_ptr = enable ? line_buf : line_buf + 1; in do_trace_enable_events()
190 void trace_enable_events(const char *line_buf) in trace_enable_events() argument
192 if (is_help_option(line_buf)) { in trace_enable_events()
198 do_trace_enable_events(line_buf); in trace_enable_events()
206 char line_buf[1024]; in trace_init_events() local
220 while (fgets(line_buf, sizeof(line_buf), fp)) { in trace_init_events()
222 size_t len = strlen(line_buf); in trace_init_events()
224 line_buf[len - 1] = '\0'; in trace_init_events()
225 if ('#' == line_buf[0]) { /* skip commented lines */ in trace_init_events()
228 trace_enable_events(line_buf); in trace_init_events()