Lines Matching defs:tool
56 static void timerlat_free_top_tool(struct osnoise_tool *tool)
58 timerlat_free_top(tool->data);
59 timerlat_free(tool);
105 timerlat_top_update_sum(struct osnoise_tool *tool, int cpu, struct timerlat_top_cpu *sum)
107 struct timerlat_top_data *data = tool->data;
130 timerlat_top_update(struct osnoise_tool *tool, int cpu,
134 struct timerlat_params *params = to_timerlat_params(tool->params);
135 struct timerlat_top_data *data = tool->data;
189 static int timerlat_top_bpf_pull_data(struct osnoise_tool *tool)
191 struct timerlat_top_data *data = tool->data;
257 * timerlat_top_header - print the header of the tool output
756 * timerlat_top_apply_config - apply the top configs to the initialized tool
778 * timerlat_init_top - initialize a timerlat top tool with parameters
810 timerlat_top_bpf_main_loop(struct osnoise_tool *tool)
812 struct timerlat_params *params = to_timerlat_params(tool->params);
826 retval = timerlat_top_bpf_pull_data(tool);
833 timerlat_print_stats(tool);
844 if (tool->record)
845 trace_instance_start(&tool->record->trace);
846 if (tool->aa)
847 trace_instance_start(&tool->aa->trace);
863 static int timerlat_top_main_loop(struct osnoise_tool *tool)
865 struct timerlat_params *params = to_timerlat_params(tool->params);
869 retval = top_main_loop(tool);
871 retval = timerlat_top_bpf_main_loop(tool);