-
Sandipan Das authored
This fixes 'test_c_api', called from 'test_libbcc', from failing if the name of the first symbol with the address of "strtok" in libc as returned by bcc_symcache_resolve() is not "strtok" but some other alias pointing to the same address. For glibc-2.25 on powerpc, a mismatch occurs as the name of the first symbol with the same address as that of "strtok" is "__GI_strtok". This can be verified from the output of the nm tool on Fedora 26 ppc64le as shown below. 00000000000b59c0 t __GI_strtok 00000000000b59c0 T strtok Signed-off-by:
Sandipan Das <sandipan@linux.vnet.ibm.com>
5ac03dda