From ef3b2b03803a9df681dd5a4fb490259ab420c3b6 Mon Sep 17 00:00:00 2001 From: "Emil J. Tywoniak" Date: Mon, 26 Jan 2026 22:59:20 +0100 Subject: [PATCH] linux_perf: mark internal, fix help formatting --- passes/cmds/linux_perf.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/passes/cmds/linux_perf.cc b/passes/cmds/linux_perf.cc index f57a887fb..5c2c23b6a 100644 --- a/passes/cmds/linux_perf.cc +++ b/passes/cmds/linux_perf.cc @@ -29,9 +29,14 @@ PRIVATE_NAMESPACE_BEGIN #ifdef __linux__ struct LinuxPerf : public Pass { - LinuxPerf() : Pass("linux_perf", "turn linux perf recording off or on") { } + LinuxPerf() : Pass("linux_perf", "turn linux perf recording off or on") { + internal(); + } void help() override { + log("\n"); + log(" linux_perf [mode]\n"); + log("\n"); log("This pass turns Linux 'perf' profiling on or off, when it has been configured to use control FIFOs.\n"); log("\n"); log("Example shell command line:\n");