Skip to content

Commit

Permalink
Revert skipping of System.Web (#2457)
Browse files Browse the repository at this point in the history
We thought this fixed [this
bug](#2410), but it
prevents profiler loading, so we are reverting for now.
  • Loading branch information
stevejgordon authored Oct 4, 2024
1 parent 5b94344 commit af6d159
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/profiler/elastic_apm_profiler/src/profiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub mod sig;
mod startup_hook;
pub mod types;

const SKIP_ASSEMBLY_PREFIXES: [&str; 23] = [
const SKIP_ASSEMBLY_PREFIXES: [&str; 22] = [
"Elastic.Apm",
"MessagePack",
"Microsoft.AI",
Expand All @@ -80,8 +80,7 @@ const SKIP_ASSEMBLY_PREFIXES: [&str; 23] = [
"System.Text",
"System.Threading",
"System.Xml",
"System.Web",
"Newtonsoft",
"Newtonsoft"
];
const SKIP_ASSEMBLIES: [&str; 7] = [
"mscorlib",
Expand Down Expand Up @@ -1061,7 +1060,7 @@ impl Profiler {
);

log::trace!("ModuleLoadFinished: tracking {} module(s)", modules.len());

if call_target_enabled {
let rejit_count =
self.calltarget_request_rejit_for_module(module_id, module_metadata)?;
Expand Down

0 comments on commit af6d159

Please sign in to comment.