Create an Activity and configure the sampling collector to collect the type of sampling data you need:
vtl activity <name> -c sampling -o "<options>"
where "<options>" are any of the following configuration options:
-cal | -calibration <yes | no>
-si | -sampling-interval <interval in milliseconds>
-sb | -sample-buffer-size <size in kilobytes>
-sd | -sampling-delay <delay in seconds>
-term| -term-activity-end <yes | no>
-sterm| -stop-on-term <yes | no>
-ec | -event-config
[(] en | event-name='<event
name>'
[:sa | sample-after=<sample after>]
-msc | -max-samples-to-collect <maximum number of samples to collect>
-ttc | -track-thread-creation <yes | no> # Not supported on Linux*
-sm | -sampling-mechanism <ebs | tbs> # Not supported on Linux
With these options, you can:
select the sampling mechanism (for Microsoft* Windows* operating systems only)
adjust the buffer size, sampling interval, delay sampling, or sampling duration
specify an application
configure events for event-based sampling
specify stop data collection conditions
You can keep or change the default configuration settings of the sampling collector.
Event names should be embedded within single quotes and sampling configuration options should be embedded within double quotes.
Example:
>vtl activity -c sampling -o "-ec en= 'External Bus Cycles - DRDY Asserted' :sa=2"