-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibGLcore
36 lines (28 loc) · 1.3 KB
/
libGLcore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Trying to figure out how to see who in libGL.so.1
calls whom in libGLcore.so.1.
From ld.so man page:
LD_DEBUG
(glibc since 2.1) Output verbose debugging informa
tion about the dynamic linker. If set to all
prints all debugging information it has, if set to
help prints a help message about which categories
can be specified in this environment variable.
% setenv LD_DEBUG help
% cat
Valid options for the LD_DEBUG environment variable are:
libs display library search paths
reloc display relocation processing
files display progress for input file
symbols display symbol table processing
bindings display information about symbol binding
versions display version dependencies
all all previous options combined
statistics display relocation statistics
help display this help message and exit
To direct the debugging output into a file instead of standard output
a filename can be specified using
the LD_DEBUG_OUTPUT environment variable.
% setenv LD_DEBUG all
% glxinfo
Almost, but no cigar... it says when it's looking up the symbol,
but no clue what function wanted it.