diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-05-15 15:36:19 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2015-05-18 13:01:57 +0000 |
commit | f335088ce13aa4efe008c74606005596ccba88ac (patch) | |
tree | bb2f9e6dbd742d01e3247809881a13ed506a04a9 | |
parent | 69d5fc12578dc5d7a65bfe17aa7a4e904c9bb103 (diff) | |
download | qt-creator-f335088ce13aa4efe008c74606005596ccba88ac.tar.gz |
Doc: More troubleshooting hints for perf profiler
Apparently the chosen event type influences the stability of the
recording process and you can change the event type using the
additional arguments.
Change-Id: I0e1982d4d469e1e4d17e2aa01d3c5166ce8817a3
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-rw-r--r-- | doc/src/analyze/cpu-usage-analyzer.qdoc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/src/analyze/cpu-usage-analyzer.qdoc b/doc/src/analyze/cpu-usage-analyzer.qdoc index 432e9fb917..095cc7fe4c 100644 --- a/doc/src/analyze/cpu-usage-analyzer.qdoc +++ b/doc/src/analyze/cpu-usage-analyzer.qdoc @@ -271,9 +271,19 @@ \li Some versions of Perf will not start recording unless given a certain minimum sampling frequency. Try with a \uicontrol {Sampling Frequency} of 1000. - \li On some devices, Perf support is not very stable and the Linux - kernel may randomly fail to record data after some time. Reboot the - device and try again. + \li On some devices, for example Boundary Devices i.MX6 Boards, the + Perf support is not very stable 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. \endlist Output from the helper program that processes the data is displayed in the |