Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 619875 Details for
Bug 510192
time-record-tt: Fix ltrace testsuite, or ltrace itself
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for this issue
ltrace-0.6.0-syscall-time.patch (text/plain), 929 bytes, created by
Petr Machata
on 2012-10-01 16:30:45 UTC
(
hide
)
Description:
Fix for this issue
Filename:
MIME Type:
Creator:
Petr Machata
Created:
2012-10-01 16:30:45 UTC
Size:
929 bytes
patch
obsolete
>From 6aa01523f249f9763ccd71db9f46969a6e5d8cfd Mon Sep 17 00:00:00 2001 >From: Paul Buerger <pbuerger@avetec.org> >Date: Wed, 12 Sep 2012 10:58:52 -0400 >Subject: [PATCH] reported time in system call was too large > >when -S and -T are specified and if the system call spans >a second boundary, the reported time in the system call >was too large by precisely 2 seconds > >Signed-off-by: Paul Buerger <pbuerger@avetec.org> >--- > handle_event.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/handle_event.c b/handle_event.c >index 1720cb3..384e868 100644 >--- a/handle_event.c >+++ b/handle_event.c >@@ -522,7 +522,7 @@ calc_time_spent(Process *proc) { > if (tv.tv_usec >= elem->time_spent.tv_usec) { > diff.tv_usec = tv.tv_usec - elem->time_spent.tv_usec; > } else { >- diff.tv_sec++; >+ diff.tv_sec--; > diff.tv_usec = 1000000 + tv.tv_usec - elem->time_spent.tv_usec; > } > current_time_spent = diff; >-- >1.7.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 510192
: 619875