Is there a way to find which libraries are using DTV slots for a given process using Linux


0 votes
asked Mar 12, 2016 by itprell (740 points)
For given process I want to find which libraries are occupying DTV slots. If my understanding is correct if library uses initial-exec model, then it would need DTV slot.

4 Answers

0 votes
answered May 12, 2016 by Retchless (460 points)
selected May 13, 2016 by Hokett
 
Best answer
Maybe this will help fellow developers. Everything will work fine I guess
0 votes
answered Apr 22, 2016 by va_when (210 points) 1 flag

The benchmark programand libraries were built with the same settings.
Ata fixed relative location within the Static TLS Block lies a pointerto the DTV.
Checkout Speeding Up Thread-Local Storage Access in Dynamic Libraries (PDF Download Available) for a simpler version of this
0 votes
answered May 8, 2016 by partch (490 points)
This looks promising. Take a look at USE Flag Index Gentoo Linux for a further explanation
+1 vote
answered May 12, 2016 by Nyy4396Rater (370 points)
I had the same problem but this solution works. I think you should check that Speeding Up Thread-Local Storage Access in Dynamic Libraries

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...