Since Windows 7 it is possible to activate callstacks for usermode events. This works fine, but sometimes activating stacks for all tasks/Events in a provider is not needed and it would be nice to only activate stacks for some specific Tasks. Is this possible?
Activate Stacks only for some specific ETW Tasks in a provider?
1.7k Views Asked by magicandre1981 At
1
There are 1 best solutions below
Related Questions in WINDOWS-8.1
- Unable to resolve property '%1' while processing properties for Uid '%0'
- UnicodeDecodeError in pip install flake8 on Windows 8.1
- How to stop credential caching on Windows.Web.Http.HttpClient?
- Finding the default application for a particular file name extension (Even when served by a metro app)
- Trying to add images (tiles) to a map
- WinJS Issues | Windows 8.1 and Windows Phone
- Mouse moves to original location after crossing montiors
- How to get a button's ID when clicked in Windows 8 apps?
- numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
- How to change keyboard language programmatically in windows 8
- Save Task<string> type to String giving Catastrophic failure
- visual studio 2013 ultimate "invalid pointer" ( Windows phone )
- How to achieve AlarmApplicationManager AlarmAccessStatus as AllowedWithWakeupCapability?
- Windows 8.1 Pro MinGW Gfortran Command Prompt 'not recognized command' error
- Javascript - how to reduce the crawl delay and make it faster?
Related Questions in STACK-TRACE
- How to print the first line from a traceback stack
- How to change unittest.TestResult to disable/remove traceback on Failures?
- What's Dead & Exploded in Swift's exception stack?
- How can I tell if a function is called in a loop within python's tracer function?
- No line numbers in stacktrace on OS X with DNX - dnxcore50 - am I missing a PDB-file?
- Get actual class from stack trace element
- Python Django not showing stack trace
- Stack trace not found in Output during Netbeans 7.4 debugging session
- access to original dict after a KeyError
- Stacktrace and error monads in Clojure
- Exception printing is disabled by default for security reasons. Error log record number:
- Can `window.onerror` be used to log the error's stack trace as a global error handler
- Java - how to get the stack trace from before a Runnable?
- iOS - Symbolicate Stack trace symbols
- Stack trace of the application specific java threads
Related Questions in ETW
- ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND with Windows EWT
- How to view generic event details with wpa?
- Creating new Services in service fabric will cause duplicated code
- How to correlate RPC calls in ETW traces?
- Windows XP ETW FileDeleted events
- How to list the event of the etw DX provider?
- Capture incoming HTTP requests and outgoing HTTP requests using ETW
- File monitor- c# or c++
- WPA does not see ETW event data, tracerpt does
- How can I do the same thing as "netsh trace start" when "capture=yes" specified by calling EnableTraceEx2?
- How to store DateTime in EventSource via WriteEventCore
- Using EventFlow to monitor ETW event on local machine
- Get FileName from FileObject or FileKey in event trace ETW file log C#
- What exactly are new ETW features in CLR 4.0?
- Performance counter vs ETW
Related Questions in WPR
- Debugging OutOfMemory exception with WinDbg and wpr. Why are these symbols shown as ?!? - jitted .net?
- Visual Studio build analysis with Windows Performance Recorder shows a very weird behaviour
- Powershell Timer for Windows performance Recorder (WPR)
- How to find the events used by WPR Graph "Power"
- Windows Performance Analyzer (WPA) is not resolving symbols for my c# application
- logman query providers for a guid
- Why is there no call stack for "generic events"
- Identify subscribers(exe or processes) for winlogon
- How to get "Size(column value) of Total Commit (Process View)" using Microsoft.Windows.EventTracing
- CPU Usage (Sampled) graph's "Utilization by Process, Thread, Stack" graph has an entry "n/a" which has no information for any thread
- Any substantial benefit of using machine mode in xperf output for further parsing by custom utility?
- Windows performance recorder Error while collecting heap snapshot. Error code: 0x80070032
- Xperf through a Fast Boot cycle
- Error: "Time inversion was detected in the trace" was observed in Windows Performance Analyzer (WPA)
- Is there a way to extract actual call stack addresses from a Windows Performance Recorder trace (WPR)?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, this is possible since Windows 8.1 with the type entry in _EVENT_FILTER_DESCRIPTOR when it is set to EVENT_FILTER_TYPE_STACKWALK when you call EnableTraceEx2.
With Windows Performance Recorder it is possible to achieve this in the WPR Profile with a second EventCollectorId entry which has an EventProviders entry where stackwalking is enabled.
In this demo profile, I created one EventProvider (
EventProvider_DotNETRuntime) for providerMicrosoft-Windows-DotNETRuntimewithout stacks to capture JIT and GC data and an other EventProvider (EventProvider_DotNETRuntime_Stack) for providerMicrosoft-Windows-DotNETRuntimewith stacks to capture stacks for Exceptions and Loader Events.When you now run Windows Performance Recorder to capture the data:
, stop the recording
open the trace with Windows Performance Analyzer, load the debug symbols you can see the stacks for the Exception data, but not for Jit or GC events:
Attention. When you run this under Windows 7 or Windows 8 (Build 9200), the last EventLogger for the provider is used with the specified keywords and stack options. Here you should create 2 WPRP profiles and detect the Windows version and run the correct profile.