clock_gettime vdso issue
A message that is not in the archive (sent off-list or not yet received): [email protected]
There has been discussions regarding adding capability to override the clock implementation.
If that support is arriving, you could always write your own (say a separate thread reading clock periodically and storing in a cache, then your own clock implementation could get that cached timestamp). Obviously you would need to think very carefully about clock resolution and frequency for your clock thread, but it should from a performance point of view be big improvement..
Maybe Mathieu(?) could shed some light on the clock override?
/Jesper
________________________________
Quoted 21 lines
Date: Thu, 26 Mar 2015 15:25:49 +0800
From: [email protected]
To: [email protected]
Subject: [lttng-dev]clock_gettimevdso issueHi,Team
You may not feel how painful I am with a too old GLIBC which does NOT support vdso
clock_gettime. Especially in ust case,trace_clock_readwill callclock_gettimeto record the time of every event.
Does anyone know how to avoidsystem_callclock_gettimewith this old GLIBC??Thanks in advance
zhenyu.ren_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
A message that is not in the archive (sent off-list or not yet received): [email protected]
Yes, the clock override feature, as well as the getcpu override, should be merged within lttng-ust and lttng-tools master branches this week. Stay tuned!
Thanks,
Mathieu
----- Original Message -----
Quoted 43 lines
There has been discussions regarding adding capability to override the clock implementation.
If that support is arriving, you could always write your own (say a separate thread reading clock periodically and storing in a cache, then your own clock implementation could get that cached timestamp).
Obviously you would need to think very carefully about clock resolution and frequency for your clock thread, but it should from a performance point of view be big improvement..Maybe Mathieu(?) could shed some light on the clock override?
/Jesper
________________________________
Quoted 15 lines
Date: Thu, 26 Mar 2015 15:25:49 +0800
From: [email protected]
To: [email protected]
Subject: [lttng-dev]clock_gettimevdso issueHi,Team
You may not feel how painful I am with a too old GLIBC which does NOT support vdso
clock_gettime. Especially in ust case,trace_clock_readwill callclock_gettimeto record the time of every event.
Does anyone know how to avoidsystem_callclock_gettimewith this old GLIBC??Quoted 7 lines
Thanks in advance
zhenyu.ren_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Are there any documents about what the clock override feature is? It seems that the feature will hurt time resolution,doesn't it?In fact,I will try to get the symbol addr of __vdso_clock_gettime just like the same way glibc does with __vdso_gettimeofday.Is there any other cheaper way to call __vdso_clock_gettime ? Thankszhenyu.ren
------------------------------------------------------------------发件人:Mathieu Desnoyers <[email protected]>发送时间:2015年3月27日(星期五) 00:33收件人:Jesper Derehag <[email protected]>抄 送:zhenyu.ren <[email protected]>,lttng-dev <[email protected]>主 题:Re: [lttng-dev] clock_gettime vdso issue Yes, the clock override feature, as well as the getcpu override,
should be merged within lttng-ust and lttng-tools master branches
this week. Stay tuned!
Thanks,
Mathieu
----- Original Message -----
Quoted 43 lines
There has been discussions regarding adding capability to override the clock implementation.
If that support is arriving, you could always write your own (say a separate thread reading clock periodically and storing in a cache, then your own clock implementation could get that cached timestamp).
Obviously you would need to think very carefully about clock resolution and frequency for your clock thread, but it should from a performance point of view be big improvement..Maybe Mathieu(?) could shed some light on the clock override?
/Jesper
________________________________
Quoted 15 lines
Date: Thu, 26 Mar 2015 15:25:49 +0800
From: [email protected]
To: [email protected]
Subject: [lttng-dev]clock_gettimevdso issueHi,Team
You may not feel how painful I am with a too old GLIBC which does NOT support vdso
clock_gettime. Especially in ust case,trace_clock_readwill callclock_gettimeto record the time of every event.
Does anyone know how to avoidsystem_callclock_gettimewith this old GLIBC??Quoted 7 lines
Thanks in advance
zhenyu.ren_______________________________________________ lttng-dev mailing list [email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
A message that is not in the archive (sent off-list or not yet received): ",
1722941338.111044.1427387596544.JavaMail.zimbra"@efficios.com
A message that is not in the archive (sent off-list or not yet received): [email protected]
The feature is really just that: a way to let users override the clock source. Depending on the clock provided by the end user, it may or may not hurt resolution.
The feature branches are here:
https://github.com/compudj/lttng-ust-dev/tree/clock-getcpu-plugin
https://github.com/compudj/lttng-tools-dev/tree/clock-plugin-ust
Thanks,
Mathieu
----- Original Message -----
Quoted 139 lines
Hello
Are there any documents about what the clock override feature is? It seems that the feature will hurt time resolution,doesn't it?
In fact,I will try to get the symbol addr of__vdso_clock_gettimejust like the same way glibc does with__vdso_gettimeofday.
Is there any other cheaper way to call__vdso_clock_gettime?Thanks
zhenyu.renQuoted 127 lines
------------------------------------------------------------------
发件人:Mathieu Desnoyers <[email protected]>
发送时间:2015年3月27日(星期五) 00:33
收件人:Jesper Derehag <[email protected]>
抄 送:zhenyu.ren <[email protected]>,lttng-dev
<[email protected]>主 题:Re: [lttng-dev]
clock_gettimevdso issueYes, the clock override feature, as well as the getcpu override,
should be merged within lttng-ust and lttng-tools master branches
this week. Stay tuned!
Thanks,
Mathieu
----- Original Message -----
Quoted 80 lines
There has been discussions regarding adding capability to override the clock
implementation.
If that support is arriving, you could always write your own (say a separate
thread reading clock periodically and storing in a cache, then your own
clock implementation could get that cached timestamp).
Obviously you would need to think very carefully about clock resolution and
frequency for your clock thread, but it should from a performance point of
view be big improvement..
Maybe Mathieu(?) could shed some light on the clock override?
/Jesper
________________________________
Quoted 38 lines
Date: Thu, 26 Mar 2015 15:25:49 +0800
From: [email protected]
Subject: [lttng-dev]
clock_gettimevdso issueHi,Team
You may not feel how painful I am with a too old GLIBC which does
NOT support vdso
clock_gettime. Especially in ust case,
trace_clock_readwill callclock_gettimeto record the time of everyevent.
Does anyone know how to avoid
system_callclock_gettimewith this oldGLIBC??
Thanks in advance
zhenyu.ren
Quoted 5 lines
_______________________________________________ lttng-dev mailing list
Quoted 9 lines
_______________________________________________
lttng-dev mailing list
--
Mathieu Desnoyers
EfficiOS Inc.
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev