Lines Matching full:monitor

3  * in kernel monitor support: allows rv to control in-kernel monitors.
28 * __ikm_read_enable - reads monitor's enable status
32 * Returns the current status, or -1 if the monitor does not exist,
55 * Returns 1 if we found the monitor, -1 on error and 0 if it does not exist.
96 * ikm_read_enable - reads monitor's enable status
116 * ikm_write_enable - write to the monitor's enable file
138 * ikm_enable - enable a monitor
148 * ikm_disable - disable a monitor
160 * Return a dynamically allocated string with the monitor's
171 err_msg("ikm: error reading monitor %s desc\n", monitor_name); in ikm_read_desc()
181 * ikm_fill_monitor_definition - fill monitor's definition
183 * Returns -1 on error, 1 if the monitor does not belong in the container, 0 otherwise.
186 static int ikm_fill_monitor_definition(char *name, struct monitor *ikm, char *container) in ikm_fill_monitor_definition()
208 err_msg("ikm: monitor %s fail to read enable file, bug?\n", name); in ikm_fill_monitor_definition()
214 err_msg("ikm: monitor %s does not have desc file, bug?\n", name); in ikm_fill_monitor_definition()
247 * Returns a dynamically allocated string with monitor's
258 err_msg("ikm: fail reading monitor's %s reactors file\n", monitor_name); in ikm_read_reactor()
318 err_msg("ikm: fail reading monitor's %s format event file\n", monitor_name); in ikm_has_id()
325 debug_msg("ikm: monitor %s has id: %s\n", monitor_name, has_id ? "yes" : "no"); in ikm_has_id()
340 struct monitor ikm = {0}; in ikm_list_monitors()
358 err_msg("ikm: error reading %d in kernel monitor, skipping\n", curr); in ikm_list_monitors()
374 printf("-- No monitor found in container %s --\n", container); in ikm_list_monitors()
376 printf("-- No monitor found --\n"); in ikm_list_monitors()
412 * Called any time a rv:"monitor"_event events is generated.
473 * Called any time a rv:"monitor"_errors events is generated.
543 /* set if at least 1 monitor has id in case of a container */ in ikm_enable_trace_events()
680 " -t/--trace: trace monitor's event", in ikm_usage()
767 * ikm_run_monitor - apply configs and run the monitor
769 * Returns 1 if a monitor was found an executed, 0 if no
788 err_msg("ikm: error finding monitor %s\n", nested_name); in ikm_run_monitor()
794 err_msg("ikm: monitor %s (in-kernel) is already enabled\n", nested_name); in ikm_run_monitor()