Intel® VTune™ Amplifier

Configuring a Custom Collector from the Command Line

You can extend standard Intel® VTune™ Amplifier performance analysis and launch a custom data collector directly from the command line interface. Your custom collector can be an application you analyze with the VTune Amplifier or a collector that can be launched with the VTune Amplifier .

Use the -custom-collector=<string> option to launch a custom collector.

Examples

This example runs Basic Hotspots analysis and also launches an external script to collect custom statistics for the specified application:

>amplxe-cl -collect hotspots -custom-collector="python /home/my_collectors/custom_collector.py" -- my_app

This example runs VTune Amplifier event-based sampling collector and also uses an external system collector to identify product environment variables:

>amplxe-cl -collect-with runsa -custom-collector="set | find \"AMPLXE\"" -- my_app

See Also