[Bug tapsets/26397] New: Modern kernels no longer use cputime for task->utime and task->stime

agentzh at gmail dot com sourceware-bugzilla@sourceware.org
Sun Aug 16 20:09:00 GMT 2020


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.


More information about the Systemtap mailing list