- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've got a program that calls SetWindowsHook() to inject code into explorer.exe... (I've originally reported problems viewing the profiling results but I managed to successfully open them under service-pack 1).
When viewing the profiler results for the "Call Graph Collector" I set SetWindowsHookExA() getting called but then it disappears. Furthermore, the function that is executed by the hook does not show up in the call graph at all, by any thread. It looks like VTune is ignoring this call sequence completely and this isa problem because it makes up 99% of my execution space.
How does one get VTune to properly recognize that SetWindowsHook() calls functions which should be part of the call-graph? I need to be able to optimize the code being executed in the remote process-space.
Thank you,
Gili
I've got a program that calls SetWindowsHook() to inject code into explorer.exe... (I've originally reported problems viewing the profiling results but I managed to successfully open them under service-pack 1).
When viewing the profiler results for the "Call Graph Collector" I set SetWindowsHookExA() getting called but then it disappears. Furthermore, the function that is executed by the hook does not show up in the call graph at all, by any thread. It looks like VTune is ignoring this call sequence completely and this isa problem because it makes up 99% of my execution space.
How does one get VTune to properly recognize that SetWindowsHook() calls functions which should be part of the call-graph? I need to be able to optimize the code being executed in the remote process-space.
Thank you,
Gili
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gili:
Try using "DLL-level call graph profiling" (see Index on VTune analyzer help). This will instrument the DLL and collect information about function within the DLL regardless of the calling application(s).
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