Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report: Support max/min timestamp in report output #1925

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 15, 2024

  1. Report: Support max/min timestamp in report output

    This patch introduces timestamps for special function calls that take the minimum or maximum time.
    With this capability, users can identify function calls that exhibit unusual execution times and investigate the underlying reasons.
    
    Example usage:
    
    $ uftrace report -f total-min-ts,total-max-ts
            Total min ts        Total max ts  Function
      ==================  ==================  ====================
           583.957018293       583.957018293  main
           583.957026996       583.957026996  __isoc99_scanf
           585.431639051       585.431610568  printf
           585.431609834       585.431609834  fibonacci
           585.431639443       585.431639443  putchar
           583.957012086       583.957012086  __monstartup
           583.957013929       583.957013929  __cxa_atexit
    
    Resolves: namhyung#1898
    
    Signed-off-by: Hanyu Cui <[email protected]>
    Cosh-y committed Jun 15, 2024
    Configuration menu
    Copy the full SHA
    27bee29 View commit details
    Browse the repository at this point in the history