Results 1 to 2 of 2

Thread: Valgrind Memory analyzer on genereic linux device

  1. #1
    Join Date
    May 2017
    Posts
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Valgrind Memory analyzer on genereic linux device

    Hi,

    I have a problem with memory analysis on generic linux device.
    I have create a kit for generic linux device. Device is connected via LAN, build and run on remote device works fine without any problem. But when I try to use a valgrind memory analysis then I got error:

    Qt Code:
    1. valgrind: /home/root/ramcam: No such file or directory
    To copy to clipboard, switch view to plain text mode 

    The path "/home/root/ramcam" is path where is my app store on remote linux device. File ramcam is really exist on the path, I checked it.

    It look like that valgrind try to find it on my local PC, not on remote device.

    In Qt creator is also a button "Valgrind memory analyzer (external remote application)", at documentation I read that is for application without .pro file and this is not my case.
    When I create a desktop application then debugger and memory analyzer work fine.


    Can you advise me what am I do wrong? How to start valgrind memory analyzer on genereic linux device over a Qt?

    Thank you for your help and ideas

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Valgrind Memory analyzer on genereic linux device

    You can analyze any external application, regardless if it uses .pro or not. The path which you seem to be taking tries to analyze a local (host) executable, not a remote one. You'd actually need valgrind deployed on the device to do that, as far as I know.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Memory Requirement for Qt in Embedded Device
    By NKDesai in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 11th February 2015, 05:15
  2. Config Valgrind Analyze Memory (Remote)
    By jindoniit in forum Qt Quick
    Replies: 2
    Last Post: 31st December 2011, 00:03
  3. Replies: 12
    Last Post: 23rd April 2011, 19:42
  4. Memory leak Detection using Valgrind
    By joseph in forum Qt Programming
    Replies: 4
    Last Post: 27th March 2008, 08:34
  5. Valgrind and Memory leak
    By Krish_ng in forum Qt Programming
    Replies: 12
    Last Post: 13th August 2007, 11:25

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.