This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
To avoid that locking overhead you need to do your short-circuit case without taking any locks. I presume you don't care about races producing false short circuits, since addresses you care about shouldn't be coming or going while you're unwinding. The only thing I see is to give you a way to see _dl_load_adds without calling __dl_iterate_phdr and taking locks, which is what you asked for in the first place. We really can't give you an exported variable symbol, so it would have to be a new function interface.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |