]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools/rtla: Remove unused function declarations
authorCosta Shulyupin <costa.shul@redhat.com>
Sun, 12 Oct 2025 07:11:30 +0000 (10:11 +0300)
committerTomas Glozar <tglozar@redhat.com>
Tue, 6 Jan 2026 09:11:59 +0000 (10:11 +0100)
Historically four function declarations remain orphaned or duplicated.

Remove them to keep the source clean.

Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Link: https://lore.kernel.org/r/20251012071133.290225-1-costa.shul@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/src/osnoise.h
tools/tracing/rtla/src/utils.h

index 895687030c0bbe97793a6d6bbc9af25bddc297f5..75de0d5c706a32290bce2d2a37ab333f62607d50 100644 (file)
@@ -58,8 +58,6 @@ int osnoise_set_irq_disable(struct osnoise_context *context, bool onoff);
 void osnoise_report_missed_events(struct osnoise_tool *tool);
 int osnoise_apply_config(struct osnoise_tool *tool, struct osnoise_params *params);
 
-int osnoise_hist_main(int argc, char *argv[]);
-int osnoise_top_main(int argc, char **argv);
 int osnoise_enable(struct osnoise_tool *tool);
 int osnoise_main(int argc, char **argv);
 int hwnoise_main(int argc, char **argv);
@@ -68,4 +66,3 @@ extern struct tool_ops timerlat_top_ops, timerlat_hist_ops;
 extern struct tool_ops osnoise_top_ops, osnoise_hist_ops;
 
 int run_tool(struct tool_ops *ops, int argc, char *argv[]);
-int hist_main_loop(struct osnoise_tool *tool);
index 091df4ba45877313ac3ea7bf76a25fc8ba8f3b33..ed7618842e8216437ab3c9861f664d6a16c2ed41 100644 (file)
@@ -24,7 +24,6 @@ void fatal(const char *fmt, ...);
 long parse_seconds_duration(char *val);
 void get_duration(time_t start_time, char *output, int output_size);
 
-int parse_cpu_list(char *cpu_list, char **monitored_cpus);
 char *parse_optional_arg(int argc, char **argv);
 long long get_llong_from_str(char *start);