I'm not good at these really. Can I provide more information to help
for tracing my problem?

Btw, I could find the file
/usr/lib/debug/.build-id/7c/5b991d6ba0d7722a41f9a39e2915f6a354a1c7.debug
in my system. How could I check whether it works with installed
mysqld?

On Wed, Sep 16, 2015 at 4:06 AM, Frank Ch. Eigler <f...@redhat.com> wrote:
> Hi, Colin -
>
>
>> This is a mistaken analysis.  /usr/sbin/mysqld is in
>> mysql-server-core-5.5, not mysql-server-5.5, and therefore its debugging
>> symbols are in mysql-server-core-5.5-dbgsym:
>
> Thank you for the correction.  I must have misread the output from "dpkg -S".
>
>>   $ dpkg -c mysql-server-core-5.5-dbgsym_5.5.44-0ubuntu0.14.04.1_amd64.ddeb 
>> | grep 5b99
>>   -rwxrwxr-x root/root  48818397 2015-07-16 23:50 
>> ./usr/lib/debug/.build-id/7c/5b991d6ba0d7722a41f9a39e2915f6a354a1c7.debug
>
> Indeed, and now dwarf-based function/statement probes can be resolved against
> mysqld.
>
>
>> The information that Gareth provided indicated that they already had
>> mysql-server-core-5.5-dbgsym installed, so perhaps this problem is
>> entirely explained by the NT_STAPSDT bit above.
>
> The NT_STAPSDT part is actually completely separate.  It relates to
> instrumentation compiled into the binary from <sys/sdt.h> macros, not
> data from the -dbgsym files.  Activating that requires mysql configury
> or buildroot tweaks to ensure the systemtap-provided
> /usr/include/sys/sdt.h file is available.  In the Fedora .spec [1], this
> is apprx. done by:
>
> BuildRequires: [...] systemtap-sdt-devel [...]
> cmake . [...] -DENABLE_DTRACE=ON  [...]
>
> [1] http://pkgs.fedoraproject.org/cgit/mariadb.git/plain/mariadb.spec
>
>
> - FChE



-- 
Gareth

Cloud Computing, OpenStack, Distributed Storage, Fitness, Basketball
OpenStack contributor, kun_huang@freenode
My promise: if you find any spelling or grammar mistakes in my email
from Mar 1 2013, notify me
and I'll donate $1 or ¥1 to an open organization you specify.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to