From kde-bugs-dist Fri Sep 30 19:12:37 2016 From: Philippe Waroquiers via KDE Bugzilla Date: Fri, 30 Sep 2016 19:12:37 +0000 To: kde-bugs-dist Subject: [valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run. Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=147526276232696 https://bugs.kde.org/show_bug.cgi?id=369456 Philippe Waroquiers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rhyskidd@gmail.com --- Comment #5 from Philippe Waroquiers --- (In reply to Alex from comment #4) > 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. Yes, a proper fix implies to have a way to find the command line (or at least the launched executable) on MacOS. No idea how to do that (and moreover I have no access to a MacOS system). Maybe Rhys has an idea ? -- You are receiving this mail because: You are watching all bug changes.