LCOV - code coverage report
Current view: top level - journal - journald-gperf.gperf (source / functions) Hit Total Coverage
Test: main_coverage.info Lines: 0 17 0.0 %
Date: 2019-08-22 15:41:25 Functions: 0 2 0.0 %

          Line data    Source code
       1             : %{
       2             : #if __GNUC__ >= 7
       3             : _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
       4             : #endif
       5             : #include <stddef.h>
       6             : #include <sys/socket.h>
       7             : #include "conf-parser.h"
       8             : #include "journald-server.h"
       9             : %}
      10             : struct ConfigPerfItem;
      11             : %null_strings
      12             : %language=ANSI-C
      13             : %define slot-name section_and_lvalue
      14             : %define hash-function-name journald_gperf_hash
      15             : %define lookup-function-name journald_gperf_lookup
      16             : %readonly-tables
      17             : %omit-struct-type
      18             : %struct-type
      19             : %includes
      20             : %%
      21             : Journal.Storage,            config_parse_storage,    0, offsetof(Server, storage)
      22             : Journal.Compress,           config_parse_compress,   0, offsetof(Server, compress)
      23             : Journal.Seal,               config_parse_bool,       0, offsetof(Server, seal)
      24             : Journal.ReadKMsg,           config_parse_bool,       0, offsetof(Server, read_kmsg)
      25             : Journal.SyncIntervalSec,    config_parse_sec,        0, offsetof(Server, sync_interval_usec)
      26           0 : # The following is a legacy name for compatibility
      27             : Journal.RateLimitInterval,  config_parse_sec,        0, offsetof(Server, rate_limit_interval)
      28             : Journal.RateLimitIntervalSec,config_parse_sec,       0, offsetof(Server, rate_limit_interval)
      29             : Journal.RateLimitBurst,     config_parse_unsigned,   0, offsetof(Server, rate_limit_burst)
      30             : Journal.SystemMaxUse,       config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_use)
      31             : Journal.SystemMaxFileSize,  config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.max_size)
      32             : Journal.SystemKeepFree,     config_parse_iec_uint64, 0, offsetof(Server, system_storage.metrics.keep_free)
      33             : Journal.SystemMaxFiles,     config_parse_uint64,     0, offsetof(Server, system_storage.metrics.n_max_files)
      34             : Journal.RuntimeMaxUse,      config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_use)
      35             : Journal.RuntimeMaxFileSize, config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.max_size)
      36             : Journal.RuntimeKeepFree,    config_parse_iec_uint64, 0, offsetof(Server, runtime_storage.metrics.keep_free)
      37             : Journal.RuntimeMaxFiles,    config_parse_uint64,     0, offsetof(Server, runtime_storage.metrics.n_max_files)
      38             : Journal.MaxRetentionSec,    config_parse_sec,        0, offsetof(Server, max_retention_usec)
      39           0 : Journal.MaxFileSec,         config_parse_sec,        0, offsetof(Server, max_file_usec)
      40             : Journal.ForwardToSyslog,    config_parse_bool,       0, offsetof(Server, forward_to_syslog)
      41           0 : Journal.ForwardToKMsg,      config_parse_bool,       0, offsetof(Server, forward_to_kmsg)
      42             : Journal.ForwardToConsole,   config_parse_bool,       0, offsetof(Server, forward_to_console)
      43           0 : Journal.ForwardToWall,      config_parse_bool,       0, offsetof(Server, forward_to_wall)
      44             : Journal.TTYPath,            config_parse_path,       0, offsetof(Server, tty_path)
      45           0 : Journal.MaxLevelStore,      config_parse_log_level,  0, offsetof(Server, max_level_store)
      46             : Journal.MaxLevelSyslog,     config_parse_log_level,  0, offsetof(Server, max_level_syslog)
      47           0 : Journal.MaxLevelKMsg,       config_parse_log_level,  0, offsetof(Server, max_level_kmsg)
      48           0 : Journal.MaxLevelConsole,    config_parse_log_level,  0, offsetof(Server, max_level_console)
      49             : Journal.MaxLevelWall,       config_parse_log_level,  0, offsetof(Server, max_level_wall)
      50             : Journal.SplitMode,          config_parse_split_mode, 0, offsetof(Server, split_mode)
      51           0 : Journal.LineMax,            config_parse_line_max,   0, offsetof(Server, line_max)

Generated by: LCOV version 1.14