microsoft / microsoft/CLRInstrumentationEngine

Some ICorProfilers might "reset" event mask on shutdown which can produce noise.

Open
#293 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
102
Forks
52
Avg merge
13h 11m
Merged PRs (30d)
6

Description

During ICorProfilerCallback::ShutDown, profilers that try to “reset” eventmask flags that are only permitted on initialization will cause CLRIE to log an error, producing some noise on process shutdown.

We can probably suppress this if SetEventMask is being called during ICorProfilerCallback::Shutdown()

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Trace SetEventMask calls made during ICorProfilerCallback::ShutDown, then inspect how CLRIE reports initialization-only event-mask changes. Done means shutdown-time resets no longer produce the reported CLRIE error or noise.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.