diff --git a/collector/src/utils/cachegrind.rs b/collector/src/utils/cachegrind.rs index 682740af8..f47d40aad 100644 --- a/collector/src/utils/cachegrind.rs +++ b/collector/src/utils/cachegrind.rs @@ -38,9 +38,10 @@ pub fn cachegrind_annotate( let line = line?; if line.starts_with("fl=") { // All jemalloc filenames have `/jemalloc/` or - // something like `/jemalloc-sys-1e20251078fe5355/` in + // something like `/jemalloc-sys-1e20251078fe5355/` or + // `/tikv-jemalloc-sys-ce50ae873ce2796b` in // them. - in_jemalloc_file = line.contains("/jemalloc"); + in_jemalloc_file = line.contains("jemalloc"); if in_jemalloc_file { writeln!(writer, "fl=")?; continue;