LCOV - code coverage report
Current view: top level - strace_git - getcpu.c (source / functions) Hit Total Coverage
Test: strace-4.16.0.69.f1ea-dirty Code Coverage Lines: 8 8 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(getcpu)
       4                 :            : {
       5         [ +  + ]:         36 :         if (exiting(tcp)) {
       6                 :         18 :                 printnum_int(tcp, tcp->u_arg[0], "%u");
       7                 :         18 :                 tprints(", ");
       8                 :         18 :                 printnum_int(tcp, tcp->u_arg[1], "%u");
       9                 :         18 :                 tprints(", ");
      10                 :         18 :                 printaddr(tcp->u_arg[2]);
      11                 :            :         }
      12                 :         36 :         return 0;
      13                 :            : }

Generated by: LCOV version 1.12