[valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run.

2016-10-03 Thread Alex via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369456 --- Comment #6 from Alex --- May be I can help? MacOS has proc_pidinfo (from sys/proc_info.h or libproc.h) for obtaining info about running app. Probably ps, top and others use it. Or popen something like "ps -p -o command" and parse. The second varian

[valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run.

2016-09-30 Thread Philippe Waroquiers via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369456 Philippe Waroquiers changed: What|Removed |Added CC||rhysk...@gmail.com --- Comment #5 from Ph

[valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run.

2016-09-29 Thread Alex via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369456 --- Comment #4 from Alex --- 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) Bu

[valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run.

2016-09-29 Thread Philippe Waroquiers via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369456 Philippe Waroquiers changed: What|Removed |Added CC||philippe.waroquiers@skynet.

[valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run.

2016-09-28 Thread Alex via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369456 --- Comment #2 from Alex --- $ vgdb -l use --pid=93572 for (could not open process command line) 93572 is the right PID of running valgrind. -- You are receiving this mail because: You are watching all bug changes.

[valgrind] [Bug 369456] callgrind_control failed to find an active callgrind run.

2016-09-28 Thread Josef Weidendorfer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=369456 --- Comment #1 from Josef Weidendorfer --- callgrind_control uses "vgdb" starting from Valgrind 3.11 to get a list of running valgrind instances. Perhaps this is not working on OSX. What is the output of "vgdb -l" with callgrind running? -- You are re