+/*
+ * Run a specific benchmark but first rename the running task's ->comm[]
+ * to something meaningful:
+ */
+static int run_bench(const char *subsys_name, const char *bench_name, bench_fn_t fn, int argc, const char **argv, const char *prefix)
+}
+
+static void all_suites(struct bench_subsys *subsys) /* FROM HERE */
@@ -244,8 +269,7 @@ int cmd_bench(int argc, const char **arg
subsystems[i].name,
subsystems[i].suites[j].name);
fflush(stdout);
- status = subsystems[i].suites[j].fn(argc - 1,
- argv + 1, prefix);
+ status = run_bench(subsystems[i].name, subsystems[i].suites[j].name, subsystems[i].suites[j].fn, argc - 1, argv + 1, prefix);