LCOV - code coverage report
Current view: top level - strace - getcpu.c (source / functions) Hit Total Coverage
Test: strace-4.18.0.129.97bbb Code Coverage Lines: 8 8 100.0 %
Date: 2017-07-31 03:46:08 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                 :         12 : SYS_FUNC(getcpu)
       4                 :            : {
       5         [ +  + ]:         12 :         if (exiting(tcp)) {
       6                 :          6 :                 printnum_int(tcp, tcp->u_arg[0], "%u");
       7                 :          6 :                 tprints(", ");
       8                 :          6 :                 printnum_int(tcp, tcp->u_arg[1], "%u");
       9                 :          6 :                 tprints(", ");
      10                 :          6 :                 printaddr(tcp->u_arg[2]);
      11                 :            :         }
      12                 :         12 :         return 0;
      13                 :            : }

Generated by: LCOV version 1.11