lkml.org 
[lkml]   [2018]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] perf test shell: Add -D to check dynamic symbols for ubuntu/debian
On Wed, 9 May 2018 15:45:29 +0800
Li Zhijian <lizhijian@cn.fujitsu.com> wrote:

> On Ubuntu and Debian, we can't find any symbol including "inet_pton" from 'nm -g'
> root@vm-lkp-nex04-8G-5 ~# nm -g /lib/x86_64-linux-gnu/libc-2.25.so | grep inet_pton
> nm: /lib/x86_64-linux-gnu/libc-2.25.so: no symbols
>
> it looks libc.so has different symbol compositions at different distros

I'm wondering if that is because libc6-dbg isn't installed?:

ubuntu$ nm -g /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.26.so | grep inet_pton
0000000000136340 W inet_pton
0000000000136010 T __inet_pton_length

Kim

\
 
 \ /
  Last update: 2018-05-09 23:41    [W:0.040 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site