|
From: Christian P. <chr...@gm...> - 2015-02-01 20:39:19
|
Hi Josef, thanks a lot for your reply! 2015-02-01 15:44 GMT+00:00 <val...@li...>: > > Date: Sat, 31 Jan 2015 21:50:35 +0100 > From: Josef Weidendorfer <Jos...@gm...> > Subject: Re: [Valgrind-users] Enabling instrumentation with > callgrind_control not working > To: val...@li... > Message-ID: <54C...@gm...> > Content-Type: text/plain; charset=windows-1252 > > Am 31.01.2015 um 14:49 schrieb Christian Priebe: > > Apparently callgrind_control hangs on a read system call waiting for > > some output from vgdb. > > Since Valgrind 3.9 or 3.10, callgrind_control is just a wrapper around > vgdb. > When mysql is running under callgrind, just call "vgdb -l" (sudo as > needed). > This gives something like > > use --pid=28503 for ... > > and then run "vgdb --pid=28503 help" to see the commands you can send > to callgrind, e.g. "vgdb --pid=28503 instrumentation on". > > Does this work? > It unfortunately does not work. I receive the following message: "vgdb error: no FIFO found matching pid 5803" "5803" is the pid as reported by vgdb -l. Thanks again, Christian > > Josef > > > If I shudown callgrind_control it outputs the > > following: > > > > "syscall failed: Interrupted system call > > error opening /tmp/vgdb-pipe-to-vgdb-from-19680-by-root-on-??? read cmd > > result from pid" > > > > The specified file does exist under /tmp. mysqld does not respond to > > MySQL clients trying to connect to it while callgrind_control is in that > > hanging state and once I shutdown callgrind_control mysqld shuts down as > > well. Does anyone have an idea about what is going on exactly or what to > > do to resolve this? Running callgrind on mysqld with instrumentation > > enabled from the beginning works perfectly fine for me. The valgrind and > > callgrind version used is 3.10.1. > > > > > > Thanks in advance, > > Christian > |