Commit 14db4261 authored by Ulf Hermann's avatar Ulf Hermann

Fix outdated perf profiler documentation

The event types should now be chosen in a structured way, not as
additional arguments. This is a hotfix for 4.5. A more comprehensive
documentation of the settings will follow in master.

Task-number: QTCREATORBUG-19321
Change-Id: I56670bd8d54fa8a62eb35951d86e4023a2a8c680
Reviewed-by: Kari Oikarinen's avatarKari Oikarinen <kari.oikarinen@qt.io>
Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
Reviewed-by: Riitta-Leena Miettinen's avatarLeena Miettinen <riitta-leena.miettinen@qt.io>
parent 194bde26
......@@ -350,15 +350,14 @@
performance counters are dysfunctional and the Linux kernel may
randomly fail to record data after some time. Perf can use different
types of events to trigger samples. You can get a list of available
event types by running \c {perf list} on the device and add
\c {-e <event type>} to the \uicontrol {Additional arguments} field
to change the event type to be used. The choice of event type
affects the performance and stability of the sampling.
\c {-e cpu-clock} is a safe but relatively slow option as it
does not use the hardware performance counters, but drives the
sampling from software. After the sampling has failed, reboot the
device. The kernel may have disabled important parts of the
performance counters system.
event types by running \c {perf list} on the device and then choose
the respective event types in the settings. The choice of event type
affects the performance and stability of the sampling. The
\c {cpu-clock} \c {software} event is a safe but relatively slow
option as it does not use the hardware performance counters, but
drives the sampling from software. After the sampling has failed,
reboot the device. The kernel may have disabled important parts of
the performance counters system.
\endlist
Output from the helper program that processes the data is displayed in the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment