Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Callgrind on Embedded Linux
Forum Update on Monday, May 27th 2025

Callgrind on Embedded Linux

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 561 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    buha
    wrote on 6 Oct 2017, 08:27 last edited by
    #1

    I am developing a Qt application running on an embedded target. Debugging with GDB within the Qt creator works on the desktop and on the embedded device.

    Now I would like to use Vallgrind or Callgrind. On the desktop this works without problems. All diagrams and calls are displayed. But not on my embedded device. Nothing appears in the different views.

    From the output of the console I can take out as far as everything works. I have only the guess that the log file is not transferred to the host PC. On the target the log file "callgrind.out.PID" exists. I can also import the log file manually into the Qt-Creator. Then everything would be displayed correctly. But that should actually go automatically?

    Is there any Vallgrind setting in the Qt-Creator, which refers to the file transfer between host and client?

    Profiling /tmp/app-qt_graph-prototype
    stdin: is not a tty
    stdin: is not a tty
    ==10170== Callgrind, a call-graph generating cache profiler
    ==10170== Copyright (C) 2002-2013, and GNU GPL'd, by Josef Weidendorfer et al.
    ==10170== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
    ==10170== Command: /tmp/app-qt_graph-prototype
    ==10170== 
    ==10170== For interactive control, run 'callgrind_control -h'.
    ==10170== 
    ==10170== Events    : Ir
    ==10170== Collected : 1443930
    ==10170== 
    ==10170== I   refs:      1,443,930
    Analyzing finished.
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      monah_tuk
      wrote on 27 Mar 2020, 06:46 last edited by
      #2

      Problem too old, but still actual. Is there any way to run callgring on remote embedded linux?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved