On Thu, 2012-02-09 at 15:00 +0100, Per Jessen wrote:
Roger Oberholtzer wrote:
Is it the case that applications should just magically get the VDSO version of the three system calls listed above? If that is the case, I should not see calls to gettimeofday in straces of my app. But I do.
I suspect there is is an additional step needed. I have not recognized it in my googling on the topic. Perhaps a compile/linker option?
I think you need to link in the vdso module when you build your application.
OK. Where is that? I looked for something called *vdso* in /usr/lib, but came up empty. I thought it sounded like glibc was managing this. If vdso was available, it did that instead of a syscall(SYS_xxx) call. Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-programming+owner@opensuse.org