* [Bug runtime/12195] New: pass current user-space timezone
@ 2010-11-05 13:17 fche at redhat dot com
2010-11-06 2:14 ` [Bug runtime/12195] " fche at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2010-11-05 13:17 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12195
Summary: pass current user-space timezone
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sources.redhat.com
ReportedBy: fche@redhat.com
ctime(gettimeofday_s()) gives only UTC data. We've had a request to
generate local time zone dates too. Here's one possible way:
* extend staprun to pass a new message to the runtime upon startup,
containing the current glibc tz_gmtoff value.
* write a new tapset function localctime() that subtracts that value
from the incoming number of seconds
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug runtime/12195] pass current user-space timezone
2010-11-05 13:17 [Bug runtime/12195] New: pass current user-space timezone fche at redhat dot com
@ 2010-11-06 2:14 ` fche at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2010-11-06 2:14 UTC (permalink / raw)
To: systemtap
http://sourceware.org/bugzilla/show_bug.cgi?id=12195
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2010-11-06 02:14:31 UTC ---
commit d62c773
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-06 2:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05 13:17 [Bug runtime/12195] New: pass current user-space timezone fche at redhat dot com
2010-11-06 2:14 ` [Bug runtime/12195] " fche at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).