Hi Josef,
thanks a lot for your reply!
2015-02-01 15:44 GMT+00:00 <valgrind-users-requ...@lists.sourceforge.net>:
>
> Date: Sat, 31 Jan 2015 21:50:35 +0100
> From: Josef Weidendorfer <josef.weidendor...@gmx.de>
> Subject: Re: [Valgrind-users] Enabling instrumentation with
> callgrind_control not working
> To: valgrind-users@lists.sourceforge.net
> Message-ID: <54cd401b.6010...@gmx.de>
> 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
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users