lttng / lttng-analyses

Analyses scripts for LTTng kernel and user-space traces (official repository)
Other
100 stars 32 forks source link

stat is not handled by I/O analyses #70

Open milianw opened 8 years ago

milianw commented 8 years ago

The current I/O analyses don't account for the {,f,l}stat syscalls which, I think, should also be attributed to I/O time.

milianw commented 8 years ago

From the syscall stats, I think the following are missing in the io analyses:

sh (2964, TID: 2964)                            Count            Min        Average          Max      Stdev Total           Return values 
 - newfstat                                       165          0.512          1.339        3.424      0.486 220.864         {'success': 166}
 - close                                          161          0.576          1.257        3.232      0.465 202.4           {'success': 162}
 - newfstatat                                     140          2.752         81.307     5750.816    519.782 11383.04        {'ENOENT': 17, 'success': 125}
 - readlinkat                                      24          6.432         14.176       23.456      4.803 340.224         {'EINVAL': 9, 'success': 17}
 - faccessat                                       14          4.864          9.088        20.32      4.985 127.232         {'ENOENT': 10, 'success': 6}
 - getdents64                                      12          0.928        171.123      1002.08    357.085 2053.472        {'success': 13}
 - statfs                                           3          7.168          7.765         8.32      0.577 23.296          {'success': 4}
 - lseek                                            1          1.888          1.888        1.888          ? 1.888           {'success': 2}

all of these are, afaik, I/O related.