Lines Matching refs:tool
56 static void timerlat_free_top_tool(struct osnoise_tool *tool)
58 timerlat_free_top(tool->data);
59 timerlat_free(tool);
103 timerlat_top_update_sum(struct osnoise_tool *tool, int cpu, struct timerlat_top_cpu *sum)
105 struct timerlat_top_data *data = tool->data;
128 timerlat_top_update(struct osnoise_tool *tool, int cpu,
132 struct timerlat_params *params = to_timerlat_params(tool->params);
133 struct timerlat_top_data *data = tool->data;
187 static int timerlat_top_bpf_pull_data(struct osnoise_tool *tool)
189 struct timerlat_top_data *data = tool->data;
250 * timerlat_top_header - print the header of the tool output
463 * timerlat_top_apply_config - apply the top configs to the initialized tool
485 * timerlat_init_top - initialize a timerlat top tool with parameters
514 timerlat_top_bpf_main_loop(struct osnoise_tool *tool)
516 const struct common_params *params = tool->params;
530 retval = timerlat_top_bpf_pull_data(tool);
537 timerlat_print_stats(tool);
541 retval = common_threshold_handler(tool);
545 if (!should_continue_tracing(tool->params))
566 static int timerlat_top_main_loop(struct osnoise_tool *tool)
568 struct timerlat_params *params = to_timerlat_params(tool->params);
572 retval = top_main_loop(tool);
574 retval = timerlat_top_bpf_main_loop(tool);