- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What options if any should be specified to profile a windows service (32 bit exe) ?
I can profile a normal exe, but it gives no data error for attach to service, does it need a non "system" user for service logon ?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Start vtune.exe/vtune-gui.exe from an Administrator terminal(cmd.exe), and then run hardware event-based sampling collection as below,
It looks it can work.
C:\Users\yuzhang3\Downloads>vtune -collect uarch-exploration -- C:\WINDOWS\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe
C:\Users\yuzhang3\Downloads>vtune -collect hotspots -knob sampling-mode=hw -- C:\WINDOWS\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page