- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to profile a Python application (Hotspots, Microarchitecture Exploration) by attaching it to the process. While it was relatively trivial to use GUI, I am not finding ways to do the same using Command Line Interface. Does Intel V tune Profiler support attaching to the process ID while using CLI
Furthermore Is it possible to export to CSV the results
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use '-target-pid' option in vtune command line as below:
$ vtune -collect hotspots -target-pid 1234
For details, please refer to the user guide:
https://www.intel.com/content/www/us/en/docs/vtune-profiler/user-guide/2024-0/target-pid.html
When VTune data collection is finished, you can use vtune -report to output VTune result to csv file, like below:
$ vtune -report hotspots -r ./r010hs/ -format=csv -report-output=hs.csv
For details, you can get help from the below command:
$ vtune -help report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can also generate the command line for collection from the GUI as described in this thread:
https://community.intel.com/t5/Analyzers/Limiting-the-data-collected/m-p/1574473
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page