[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run.
From:       Alex via KDE Bugzilla <bugzilla_noreply () kde ! org>
Date:       2016-09-30 4:30:07
Message-ID: bug-369456-17878-zmtkyxeQma () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=369456

--- Comment #4 from Alex <alex_hitman@ngs.ru> ---
Fixing regex can help to find PID. Something like that (I'm not familiar with
perl/regex):
$ vgdb -l | perl -lpe'/^use --pid=(\d+) for [\S\s]+$/; print $1;'
30750
use --pid=30750 for (could not open process command line)

But callgrind_control also check  that running tool is callgrind.
There is no such info in the string returning from vgdb -l.

So I can make little hack in callgrind_control for using it until this will be
fixed.
Thanks.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic