Lines Matching defs:set
380 * When soft_disable is set and enable is cleared, the sm_ref
384 * SOFT_DISABLED isn't set, then do nothing. But if SOFT_DISABLED
385 * is set we do not want the event to be enabled before we
388 * When soft_disable is not set but the SOFT_MODE flag is,
416 /* If in SOFT_MODE, just set the SOFT_DISABLE_BIT, else clear it */
424 * When soft_disable is set and enable is set, we want to
427 * nothing (but set SOFT_MODE). If the event is disabled, we
428 * set SOFT_DISABLED before enabling the event tracepoint, so
472 /* WAS_ENABLED gets set but never cleared. */
784 * __ftrace_set_clr_event(NULL, NULL, NULL, set) will set/unset all events.
788 const char *sub, const char *event, int set)
818 ret = ftrace_event_enable_disable(file, set);
835 const char *sub, const char *event, int set)
840 ret = __ftrace_set_clr_event_nolock(tr, match, sub, event, set);
846 int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set)
877 ret = __ftrace_set_clr_event(tr, match, sub, event, set);
890 * @set: 1 to enable, 0 to disable
898 int trace_set_clr_event(const char *system, const char *event, int set)
905 return __ftrace_set_clr_event(tr, NULL, system, event, set);
925 int set;
930 set = (enable == true) ? 1 : 0;
931 return __ftrace_set_clr_event(tr, NULL, system, event, set);
960 int set = 1;
963 set = 0;
965 ret = ftrace_set_clr_event(tr, parser.buffer + !set, set);
1216 int set = 0;
1230 * We need to find out if all the events are set
1234 set |= (1 << !!(file->flags & EVENT_FILE_FL_ENABLED));
1239 if (set == 3)
1244 buf[0] = set_to_char[set];
1696 * to set ignore_pid if next or prev do not match.
1698 * to only keep ignore_pid set if next pid matches.
3188 * enabled. This must be done before the filesystem is set up in order
3303 * When a new instance is created, it needs to set up its events
3439 * We need the top trace array to have a working set of trace
3462 * to set the TIF_SYSCALL_TRACEPOINT flag of pid 1. But event_trace_enable()
3463 * is called before pid 1 starts, and this flag is never set, making