Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 31) sorted by relevance

12

/kernel/trace/
Dtrace_functions.c800 char *cmd, char *param, int enable) in ftrace_trace_probe_callback() argument
807 if (!enable) in ftrace_trace_probe_callback()
837 char *glob, char *cmd, char *param, int enable) in ftrace_trace_onoff_callback() argument
851 param, enable); in ftrace_trace_onoff_callback()
856 char *glob, char *cmd, char *param, int enable) in ftrace_stacktrace_callback() argument
866 param, enable); in ftrace_stacktrace_callback()
871 char *glob, char *cmd, char *param, int enable) in ftrace_dump_callback() argument
882 "1", enable); in ftrace_dump_callback()
887 char *glob, char *cmd, char *param, int enable) in ftrace_cpudump_callback() argument
898 "1", enable); in ftrace_cpudump_callback()
Dtrace_events_trigger.c1625 if (enable_data->enable) in event_enable_trigger()
1642 if (enable_data->enable == !(enable_data->file->flags & EVENT_FILE_FL_SOFT_DISABLED)) in event_enable_count_trigger()
1658 (enable_data->enable ? ENABLE_HIST_STR : DISABLE_HIST_STR) : in event_enable_trigger_print()
1659 (enable_data->enable ? ENABLE_EVENT_STR : DISABLE_EVENT_STR), in event_enable_trigger_print()
1730 bool enable, remove; in event_enable_trigger_parse() local
1760 enable = ((strcmp(cmd, ENABLE_EVENT_STR) == 0) || in event_enable_trigger_parse()
1763 enable = strcmp(cmd, ENABLE_EVENT_STR) == 0; in event_enable_trigger_parse()
1772 enable_data->enable = enable; in event_enable_trigger_parse()
1902 bool enable; in event_enable_get_trigger_ops() local
1905 enable = ((strcmp(cmd, ENABLE_EVENT_STR) == 0) || in event_enable_get_trigger_ops()
[all …]
Dftrace.c784 void ftrace_graph_graph_time_control(bool enable) in ftrace_graph_graph_time_control() argument
786 fgraph_graph_time = enable; in ftrace_graph_graph_time_control()
1288 int enable) in ftrace_add_mod() argument
1291 struct list_head *mod_head = enable ? &tr->mod_trace : &tr->mod_notrace; in ftrace_add_mod()
1300 ftrace_mod->enable = enable; in ftrace_add_mod()
1412 ftrace_hash_move(struct ftrace_ops *ops, int enable, in ftrace_hash_move() argument
1419 if (ops->flags & FTRACE_OPS_FL_IPMODIFY && !enable) in ftrace_hash_move()
1427 if (enable) { in ftrace_hash_move()
1440 ftrace_hash_rec_disable_modify(ops, enable); in ftrace_hash_move()
1444 ftrace_hash_rec_enable_modify(ops, enable); in ftrace_hash_move()
[all …]
Dtrace.h728 extern void trace_event_follow_fork(struct trace_array *tr, bool enable);
801 int enable; member
842 extern void ftrace_graph_sleep_time_control(bool enable);
845 extern void ftrace_graph_graph_time_control(bool enable);
847 static inline void ftrace_graph_graph_time_control(bool enable) { } in ftrace_graph_graph_time_control() argument
990 char *params, int enable);
1012 void ftrace_pid_follow_fork(struct trace_array *tr, bool enable);
1038 static inline void ftrace_pid_follow_fork(struct trace_array *tr, bool enable) { } in ftrace_pid_follow_fork() argument
1499 extern void trace_event_enable_cmd_record(bool enable);
1500 extern void trace_event_enable_tgid_record(bool enable);
[all …]
Dtrace_events.c563 void trace_event_enable_cmd_record(bool enable) in trace_event_enable_cmd_record() argument
575 if (enable) { in trace_event_enable_cmd_record()
585 void trace_event_enable_tgid_record(bool enable) in trace_event_enable_tgid_record() argument
596 if (enable) { in trace_event_enable_tgid_record()
608 int enable, int soft_disable) in __ftrace_event_enable_disable() argument
615 switch (enable) { in __ftrace_event_enable_disable()
720 int enable, int soft_disable) in trace_event_enable_disable() argument
722 return __ftrace_event_enable_disable(file, enable, soft_disable); in trace_event_enable_disable()
726 int enable) in ftrace_event_enable_disable() argument
728 return __ftrace_event_enable_disable(file, enable, 0); in ftrace_event_enable_disable()
[all …]
Dtrace_boot.c521 bool enable, enable_all = false; in trace_boot_init_events() local
534 enable = false; in trace_boot_init_events()
538 enable = true; in trace_boot_init_events()
544 if (enable) { in trace_boot_init_events()
Dfgraph.c358 void ftrace_graph_sleep_time_control(bool enable) in ftrace_graph_sleep_time_control() argument
360 fgraph_sleep_time = enable; in ftrace_graph_sleep_time_control()
DKconfig221 bool "enable/disable function tracing dynamically"
303 To enable the stack tracer on bootup, pass in 'stacktrace'
407 To enable this tracer, echo in "hwlat" into the current_tracer
443 To enable this tracer, echo in "osnoise" into the current_tracer
550 kernel. This profiler will also enable the likely/unlikely
560 Only enable it if you want to analyse the branching behavior.
633 echo 1 > /sys/block/sda/sda1/trace/enable
975 This option will also enable testing every syscall event.
980 TBD - enable a way to actually call the syscalls as we test their
/kernel/events/
Dhw_breakpoint.c409 toggle_bp_slot(struct perf_event *bp, bool enable, enum bp_type_idx type, int weight) in toggle_bp_slot() argument
413 if (!enable) in toggle_bp_slot()
459 if (!enable) { in toggle_bp_slot()
476 if (!enable) in toggle_bp_slot()
479 } else if (enable) { /* Case 2.a: slow path */ in toggle_bp_slot()
508 if (!enable) in toggle_bp_slot()
520 if (enable) in toggle_bp_slot()
/kernel/trace/rv/
Drv_reactors.c195 bool enable; in monitor_reactors_write() local
229 enable = false; in monitor_reactors_write()
231 enable = true; in monitor_reactors_write()
233 monitor_swap_reactors(mdef, rdef, enable); in monitor_reactors_write()
Drv.c271 retval = mdef->monitor->enable(); in rv_enable_monitor()
518 bool enable = true; in enabled_monitors_write() local
534 enable = false; in enabled_monitors_write()
553 if (enable) in enabled_monitors_write()
DKconfig36 preempt_disable/enable events.
/kernel/sched/
Didle.c24 void cpu_idle_poll_ctrl(bool enable) in cpu_idle_poll_ctrl() argument
26 if (enable) { in cpu_idle_poll_ctrl()
/kernel/bpf/
DKconfig51 Note, an admin should enable this feature changing:
57 bool "Permanently enable BPF JIT and remove BPF interpreter"
/kernel/trace/rv/monitors/wwnr/
Dwwnr.c65 .enable = enable_wwnr,
/kernel/trace/rv/monitors/wip/
Dwip.c66 .enable = enable_wip,
/kernel/cgroup/
Dcgroup.c3373 static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable) in cgroup_vet_subtree_control_enable() argument
3375 u16 domain_enable = enable & ~cgrp_dfl_threaded_ss_mask; in cgroup_vet_subtree_control_enable()
3378 if (!enable) in cgroup_vet_subtree_control_enable()
3418 u16 enable = 0, disable = 0; in cgroup_subtree_control_write() local
3438 enable |= 1 << ssid; in cgroup_subtree_control_write()
3442 enable &= ~(1 << ssid); in cgroup_subtree_control_write()
3457 if (enable & (1 << ssid)) { in cgroup_subtree_control_write()
3459 enable &= ~(1 << ssid); in cgroup_subtree_control_write()
3483 if (!enable && !disable) { in cgroup_subtree_control_write()
3488 ret = cgroup_vet_subtree_control_enable(cgrp, enable); in cgroup_subtree_control_write()
[all …]
/kernel/configs/
Dxen.config1 # global stuff - these enable us to allow some
/kernel/gcov/
DKconfig17 for the entire kernel. To enable profiling for specific files or
/kernel/time/
Dtimekeeping.c1471 if (!new->enable || new->enable(new) == 0) in change_clocksource()
1671 if (clock->enable) in timekeeping_init()
1672 clock->enable(clock); in timekeeping_init()
Dclocksource.c801 if (suspend_clocksource->enable && in clocksource_start_suspend_timing()
802 suspend_clocksource->enable(suspend_clocksource)) { in clocksource_start_suspend_timing()
/kernel/module/
DKconfig117 You should enable this option if you wish to use either
122 !!!WARNING!!! If you enable this option, you MUST make sure that the
/kernel/rcu/
DKconfig.debug107 Say Y here if you want to enable RCU tracing
/kernel/power/
DKconfig156 enabled. In particular, only enable this if it is very common to be
160 a userspace power manager service should enable this option; and not
/kernel/dma/
DKconfig43 # need to enable this.

12