2.6.4 Capture a QML application

/usr/bin/qml-runner interprets QML applications.

Capture QML applications in the following way:

  1. Navigate to /usr/bin/
  2. Create the subdirectory /usr/bin/ga/, if it does not exist.
  3. Hard link /opt/graphics_analyzer/libinterceptor.so into subdirectory /usr/bin/ga/
  4. Rename the executable /usr/bin/qml-runner to /usr/bin/qml-runner.bin
  5. Hard link /opt/graphics_analyzer/aga-wrapper to /usr/bin/qml-runner
  6. Reboot or turn on the device.
  7. Open the Graphics Analyzer GUI application on your workstation. Connect to the device using the Graphics Analyzer Device Manager.
  8. Start the QML application.
  9. The function calls are captured in the Graphics Analyzer GUI application.

Tip:

To temporarily disable the capture of QML applications, rename /usr/bin/ga/libinterceptor.so, for example, to libinterceptor.so.removed.

For an example QML-based application, see the screensaver, com.webos.app.screensaver, under /usr/palm/applications/com.webos.app.screensaver.

Non-Confidential - RELPDF file icon PDF version101545__00_en
Copyright © 2020–2022, 2024 Arm Limited or its affiliates. All rights reserved.