Skip to content

ActivityTracker is mostly untrimmed even when event source is disabled #43635

Open
@vitek-karas

Description

@vitek-karas

ActivityTracker really only works if TplEventSource is enabled, so if all event sources are disabled via a feature switch EventSourceSupport there's really no need to keep its implementation around for anything.

Ideally we would refactor the code in it such that linker will be able to remove most of the implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Diagnostics.TracingenhancementProduct code improvement that does NOT require public API changes/additionssize-reductionIssues impacting final app size primary for size sensitive workloads

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions