[llvm] [llvm-profgen] Add support for Linux kenrel profile (PR #92831)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 19:11:10 PDT 2024


================
@@ -56,6 +56,10 @@ static cl::list<std::string> DisassembleFunctions(
     cl::desc("List of functions to print disassembly for. Accept demangled "
              "names only. Only work with show-disassembly-only"));
 
+static cl::opt<bool>
+    KernelBinary("kernel",
----------------
WenleiHe wrote:

What I meant is error out when kernel image isn't found in mmap (we're already assuming names there). But no big deal either way. 

https://github.com/llvm/llvm-project/pull/92831


More information about the llvm-commits mailing list