[llvm] [llvm-profgen] Add support for Linux kenrel profile (PR #92831)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 12:06:17 PDT 2024
================
@@ -428,6 +431,14 @@ class ProfiledBinary {
bool usePseudoProbes() const { return UsePseudoProbes; }
bool useFSDiscriminator() const { return UseFSDiscriminator; }
+ bool isKernel() const { return IsKernel; }
+
+ bool isKernelImageName(StringRef BinaryName) const {
----------------
xur-llvm wrote:
Right. I'll make it static.
https://github.com/llvm/llvm-project/pull/92831
More information about the llvm-commits
mailing list