LCOV - code coverage report
Current view: top level - strace_git - statfs.c (source / functions) Hit Total Coverage
Test: strace-4.16.0.69.f1ea-dirty Code Coverage Lines: 6 6 100.0 %
Date: 2017-03-18 00:38:52 Functions: 1 1 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 2 2 100.0 %

           Branch data     Line data    Source code
       1                 :            : #include "defs.h"
       2                 :            : 
       3                 :         36 : SYS_FUNC(statfs)
       4                 :            : {
       5         [ +  + ]:         36 :         if (entering(tcp)) {
       6                 :         18 :                 printpath(tcp, tcp->u_arg[0]);
       7                 :         18 :                 tprints(", ");
       8                 :            :         } else {
       9                 :         18 :                 print_struct_statfs(tcp, tcp->u_arg[1]);
      10                 :            :         }
      11                 :         36 :         return 0;
      12                 :            : }

Generated by: LCOV version 1.12