- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use vtune on an application compile with mwing.
when run in cmd.exe it's OK, when running in vtune, vtune abort the application with no error messages !
what can I do ?
when run in cmd.exe it's OK, when running in vtune, vtune abort the application with no error messages !
what can I do ?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you mean mingw32? VTune isn't designed to work with Windows gcc/g++. I did once try running it against a cygwin built application; it was able to view asm for some distance from the start of several functions. You must build everything with -g, and preferably static link against Microsoft debug libraries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, there is a topic in the online help titled "GNU* C/C++ Compiler for the Microsoft* Windows* Operating System." The analyzer will support binaries built with that compiler.
You probably have some other issue causing the problem. Are you trying to us sampling or call graph?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
well, I successfully use vtune in a sample app compile with mwing32 (msys), but my real app seems to broke vtune !
I have compile my app with -g, I did'nt use callgraph.
thanks
I have compile my app with -g, I did'nt use callgraph.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah... The default configuration for sampling sets a "duration" of 20 seconds. When the activity reaches this duration, the activity is stopped and any application that the VTune analyzer launched is terminated. You can change the analyzer's behavior in two ways:
- set the duration to zero (0 = forever) or to a sufficiently long value.
- after creating the activity, modify it (right-click in Tuning Browser and select Modify Activity...) and Configure the sampling collector and uncheck the Terminate application when Activity ends check box on the General tab.
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