• Home
  • Raw
  • Download

Lines Matching refs:command

2772 void ftrace_modify_all_code(int command)  in ftrace_modify_all_code()  argument
2774 int update = command & FTRACE_UPDATE_TRACE_FUNC; in ftrace_modify_all_code()
2778 if (command & FTRACE_MAY_SLEEP) in ftrace_modify_all_code()
2797 if (command & FTRACE_UPDATE_CALLS) in ftrace_modify_all_code()
2799 else if (command & FTRACE_DISABLE_CALLS) in ftrace_modify_all_code()
2813 if (command & FTRACE_START_FUNC_RET) in ftrace_modify_all_code()
2815 else if (command & FTRACE_STOP_FUNC_RET) in ftrace_modify_all_code()
2822 int *command = data; in __ftrace_modify_code() local
2824 ftrace_modify_all_code(*command); in __ftrace_modify_code()
2836 void ftrace_run_stop_machine(int command) in ftrace_run_stop_machine() argument
2838 stop_machine(__ftrace_modify_code, &command, NULL); in ftrace_run_stop_machine()
2848 void __weak arch_ftrace_update_code(int command) in arch_ftrace_update_code() argument
2850 ftrace_run_stop_machine(command); in arch_ftrace_update_code()
2853 static void ftrace_run_update_code(int command) in ftrace_run_update_code() argument
2863 arch_ftrace_update_code(command); in ftrace_run_update_code()
2868 static void ftrace_run_modify_code(struct ftrace_ops *ops, int command, in ftrace_run_modify_code() argument
2874 ftrace_run_update_code(command); in ftrace_run_modify_code()
2932 static void ftrace_startup_enable(int command) in ftrace_startup_enable() argument
2936 command |= FTRACE_UPDATE_TRACE_FUNC; in ftrace_startup_enable()
2939 if (!command || !ftrace_enabled) in ftrace_startup_enable()
2942 ftrace_run_update_code(command); in ftrace_startup_enable()
2945 static void ftrace_startup_all(int command) in ftrace_startup_all() argument
2948 ftrace_startup_enable(command); in ftrace_startup_all()
2952 int ftrace_startup(struct ftrace_ops *ops, int command) in ftrace_startup() argument
2987 command |= FTRACE_UPDATE_CALLS; in ftrace_startup()
2989 ftrace_startup_enable(command); in ftrace_startup()
3006 int ftrace_shutdown(struct ftrace_ops *ops, int command) in ftrace_shutdown() argument
3029 command |= FTRACE_UPDATE_CALLS; in ftrace_shutdown()
3035 command |= FTRACE_UPDATE_TRACE_FUNC; in ftrace_shutdown()
3038 if (!command || !ftrace_enabled) in ftrace_shutdown()
3052 ftrace_run_update_code(command); in ftrace_shutdown()
5008 char *func, *command, *next = buff; in ftrace_process_regex() local
5025 command = strsep(&next, ":"); in ftrace_process_regex()
5029 if (strcmp(p->name, command) == 0) { in ftrace_process_regex()
5030 ret = p->func(tr, hash, func, command, next, enable); in ftrace_process_regex()
7508 static inline void ftrace_startup_all(int command) { } in ftrace_startup_all() argument
8363 int command; in ftrace_startup_sysctl() local
8372 command = FTRACE_UPDATE_CALLS; in ftrace_startup_sysctl()
8374 command |= FTRACE_START_FUNC_RET; in ftrace_startup_sysctl()
8375 ftrace_startup_enable(command); in ftrace_startup_sysctl()
8381 int command; in ftrace_shutdown_sysctl() local
8388 command = FTRACE_DISABLE_CALLS; in ftrace_shutdown_sysctl()
8390 command |= FTRACE_STOP_FUNC_RET; in ftrace_shutdown_sysctl()
8391 ftrace_run_update_code(command); in ftrace_shutdown_sysctl()