- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The VTuneI use is VTune 7.2 on Windows. I encountered some problem when exporting the VTune Call Graph data.
When using VTune to gather call-graph data,Thecaller andcallee's information(Thenumber ofcalls, thecaller andcallees of a specified function,etc)can begot from the IDE environment. However, when exporting such kind of data to a Excel file(in order for automatical analysis), some information is missing, for example, the information about the caller and callees of a specified function, the number of calls from each caller and callee, is missing.
How to solve such kind of problem?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Exporting the callers and callees for every function in the call graph (or selected functions) would be problematic. For example, how would you suggest we do that, since the data is exportedby columns?
As far as call count, this should be included in the exported data, but may be omitted if you did not include it in the display. That is, columns can be hidden or displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello DaveA:
Thanks for you timely reply.
I try the command line script "vtl view -calls > results/my_calls.csv", It seems that I can get the information I want. the followingshows part of the output:
myFunction; void Test.myFunction(); /home/.../java
[NAME(1)]; [CALLS(2)]; ... [DISPLAY_NAME(7)]; ...
myFunction2; 5; ... void Test.myFunction2(); ...
test; 1; ... void Test.test(); ...
println; 1; ... void java.io.PrintStream.println(java.lang.String); ...
[NAME(1)]; [CALLS(2)]; ... [DISPLAY_NAME(7)]; ...
myFunction2; 5; ... void Test.myFunction2(); ...
test; 1; ... void Test.test(); ...
println; 1; ... void java.io.PrintStream.println(java.lang.String); ...
My environment is : VTune 3.0 on Linux (Redhat 7.3).
The remaining thing is to implement a post processing tool. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh! Okay, well, there is a separate forum for the Linux*-based product. Your original post says "7.2", so I was confused by your post. But, no worries...
For the benefit of other forum visitors, exporting the data is possible from the 7.2 GUI by selecting Export... from the File menu with the Call Graph view active. This will result in the same data being exported to a CSV file, which can then be imported into something like Microsoft* Excel*.
Message Edited by DaveA on 02-18-2005 08:54 AM
Message Edited by DaveA on 02-18-2005 08:55 AM
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