microsoft / microsoft/perfview
TraceEvent: Support for EventName filtering in TraceEventProviderOptions
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 4.7k
- Forks
- 775
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 9
Description
Currently there seems to be no way to set Event Name based filters (applicable to TraceLogging events only) in TraceEventProviderOptions. Seems like that could be useful to add given more adoption of TraceLogging APIs over manifested events in recent years.
Though the ideal/optimal way to do filtering is using Keyword/Level pair, but there can be situations where that does not give the right scope of events.
This could be achieved by adding a new filter type: EVENT_FILTER_TYPE_EVENT_NAME
https://docs.microsoft.com/en-us/windows/win32/api/evntprov/ns-evntprov-event_filter_descriptor
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating TraceEventProviderOptions and its existing filter types, then compare them with the Windows EVENT_FILTER_TYPE_EVENT_NAME documentation linked in the issue. Done means TraceLogging events can be filtered by EventName through the new filter type, with appropriate coverage for the added behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100