I am curious about this article:
and openSUSE's supplied kernel. I see that VDSO's are enabled in
$ cat /proc/self/maps | grep vdso
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
If I look in /usr/src/linux/arch/x86/vdso/vdso.lds.S, I see:
* This controls what userland symbols we export from the vDSO.
As it turns out, gettimeofday is a function our app uses extensively. It
is a data collection program that time tags everything.
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?
OPQ Systems / Ramböll RST
Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
Ramböll Sverige AB
P.O. Box 17009
SE-104 62 Stockholm, Sweden
To unsubscribe, e-mail: opensuse-programming+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-programming+owner(a)opensuse.org