summaryrefslogtreecommitdiff
path: root/profcollectd
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2024-03-06 13:37:58 -0800
committerYabin Cui <yabinc@google.com>2024-03-06 13:39:25 -0800
commit91fb5a87adea2bd1961c661cf2d7ca50a6fcf750 (patch)
tree4b5a894ab5d88090d5ea76974928916201ef476a /profcollectd
parenta781ffaac6d9cea9d70a978579493c0445c7cb0d (diff)
downloadextras-91fb5a87adea2bd1961c661cf2d7ca50a6fcf750.tar.gz
profcollectd: Update binary_filter to include kernel code
Bug: 323054107 Test: run profcollectd Change-Id: I7fabeadaec9fbf08d617ea3c769afab19ae06ca2
Diffstat (limited to 'profcollectd')
-rw-r--r--profcollectd/libprofcollectd/config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/profcollectd/libprofcollectd/config.rs b/profcollectd/libprofcollectd/config.rs
index 14236ab9..87242489 100644
--- a/profcollectd/libprofcollectd/config.rs
+++ b/profcollectd/libprofcollectd/config.rs
@@ -30,7 +30,8 @@ use std::time::Duration;
const PROFCOLLECT_CONFIG_NAMESPACE: &str = "profcollect_native_boot";
const PROFCOLLECT_NODE_ID_PROPERTY: &str = "persist.profcollectd.node_id";
-const DEFAULT_BINARY_FILTER: &str = "^/(system|apex/.+)/(bin|lib|lib64)/.+";
+const DEFAULT_BINARY_FILTER: &str =
+ "(^/(system|apex/.+|vendor)/(bin|lib|lib64)/.+)|kernel.kallsyms";
pub const REPORT_RETENTION_SECS: u64 = 14 * 24 * 60 * 60; // 14 days.
// Static configs that cannot be changed.