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

           Branch data     Line data    Source code
       1                 :            : #include "defs.h"
       2                 :            : 
       3                 :            : #include "xlat/pkey_access.h"
       4                 :            : 
       5                 :        120 : SYS_FUNC(pkey_alloc)
       6                 :            : {
       7                 :        120 :         tprintf("%#" PRI_klx ", ", tcp->u_arg[0]);
       8                 :        120 :         printflags64(pkey_access, tcp->u_arg[1], "PKEY_???");
       9                 :            : 
      10                 :        120 :         return RVAL_DECODED;
      11                 :            : }
      12                 :            : 
      13                 :         30 : SYS_FUNC(pkey_free)
      14                 :            : {
      15                 :         30 :         tprintf("%d", (int) tcp->u_arg[0]);
      16                 :            : 
      17                 :         30 :         return RVAL_DECODED;
      18                 :            : }

Generated by: LCOV version 1.12