public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/26397] New: Modern kernels no longer use cputime for task->utime and task->stime
@ 2020-08-16 20:09 agentzh at gmail dot com
  2020-08-16 20:09 ` [Bug tapsets/26397] " agentzh at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: agentzh at gmail dot com @ 2020-08-16 20:09 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=26397

            Bug ID: 26397
           Summary: Modern kernels no longer use cputime for task->utime
                    and task->stime
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: agentzh at gmail dot com
  Target Milestone: ---

The task_time_string() tapset function assumes task->{utime,stime} to be
cputime (or jiffies), which leads to very wrong results being returned. Modern
kernels already use nanoseconds for these two fields.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tapsets/26397] Modern kernels no longer use cputime for task->utime and task->stime
  2020-08-16 20:09 [Bug tapsets/26397] New: Modern kernels no longer use cputime for task->utime and task->stime agentzh at gmail dot com
@ 2020-08-16 20:09 ` agentzh at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: agentzh at gmail dot com @ 2020-08-16 20:09 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=26397

--- Comment #1 from agentzh <agentzh at gmail dot com> ---
Not sure how to add a stap feature test for this kernel change.

-- 
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:[~2020-08-16 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-16 20:09 [Bug tapsets/26397] New: Modern kernels no longer use cputime for task->utime and task->stime agentzh at gmail dot com
2020-08-16 20:09 ` [Bug tapsets/26397] " agentzh at gmail 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).