- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a method for which I want to collect the assembly view using the command line. Here’s the command I’m using:
vtune -report hotspots -r Data/2025_01_28_22_10_33 -source-object function="havlak::HavlakLoopFinder\$4::apply" -group-by=basic-block,address -column=block,"CPU Time:Self",assembly
It works for all methods in my Havlak classes except one: havlak::HavlakLoopFinder\$4::apply. The issue isn’t related to escaping the $, as other methods with $ work fine with the same syntax.
and the gui view does provide the source view i want,
The problem is that this method appears twice in the GUI:
havlak::HavlakLoopFinder$4::apply(java::lang::Object)
havlak::HavlakLoopFinder$4::apply(java::lang::Integer)
When I run the command, I get this result:
vtune -report hotspots -r *Ihaveommitedthis* -source-object function="havlak::HavlakLoopFinder\$4::apply" -group-by=basic-block,address -column=block,"CPU Time:Self",assembly
vtune: Using result path *Ihaveommitedthis*
vtune: Executing actions 75 % Generating a report
vtune: Error: Source / assembly code for the selected object is not available.
vtune: Error: An internal error has occurred. Our apologies for this inconvenience. Please gather a description of the steps leading up to the problem and contact the Intel customer support team.
vtune: Executing actions 100 % done
vtune: Error: 0x40000023 (User input error)
I want this to work on the command line, as using the GUI is not a viable workaround. How can I distinguish between the two versions of the method name? Can I provide a more specific or concrete name to resolve this?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to check internally and give an update to you.
BTW, the issue is only observed in your current case?
"method appears twice in the GUI"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try the below command and also "object type" can be of function, module and source-file. The issue may be of "object type", as you have used "function" for an "object" havlak::HavlakLoopFinder$4::apply(java::lang::Object).
vtune -report hotspots -r <project path> -source-object <object_type>=<value> -group-by=basic-block, assembly -sort-desc "CPU TIME:Self"
https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2025-0/source-object.html

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