LCOV - code coverage report
Current view: top level - core - unit.c (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 1256 3074 40.9 %
Date: 2019-08-23 13:36:53 Functions: 110 186 59.1 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 819 3170 25.8 %

Function Name Sort by function name Hit count Sort by hit count
get_name_owner_handler 0
hashmap_complete_move 0
log_kill 0
log_leftover 0
log_unit_internal 0
maybe_warn_about_dependency 0
merge_dependencies 0
merge_names 0
on_rewatch_pids_event 0
operation_to_signal 0
raise_level 0
reserve_dependencies 0
serialize_cgroup_mask 0
set_complete_move 0
signal_name_owner_changed 0
unit_add_to_cleanup_queue 0
unit_can_clean 0
unit_can_isolate 0
unit_can_reload 0
unit_can_serialize 0
unit_clean 0
unit_concat_strv 0
unit_control_pid 0
unit_dbus_path 0
unit_dbus_path_invocation_id 0
unit_deserialize 0
unit_deserialize_job 0
unit_deserialize_skip 0
unit_drop_in_dir 0
unit_escape_setting 0
unit_export_invocation_id 0
unit_export_log_extra_fields 0
unit_export_log_level_max 0
unit_export_log_rate_limit_burst 0
unit_export_log_rate_limit_interval 0
unit_fail_if_noncanonical 0
unit_failure_action_exit_status 0
unit_fork_helper_process 0
unit_get_exec_runtime 0
unit_get_unit_file_preset 0
unit_get_unit_file_state 0
unit_inactive_or_pending 0
unit_install_bus_match 0
unit_is_pristine 0
unit_is_unneeded 0
unit_kill 0
unit_kill_common 0
unit_kill_context 0
unit_label_path 0
unit_log_failure 0
unit_log_process_exit 0
unit_log_skip 0
unit_main_pid 0
unit_make_transient 0
unit_notify_user_lookup 0
unit_pid_attachable 0
unit_pid_set 0
unit_ref_gid 0
unit_ref_uid 0
unit_ref_uid_gid 0
unit_ref_uid_gid_internal 0
unit_ref_uid_internal 0
unit_reload 0
unit_reset_failed 0
unit_serialize 0
unit_shall_confirm_spawn 0
unit_start_on_failure 0
unit_sub_state_to_string 0
unit_tidy_watch_pids 0
unit_unwatch_bus_name 0
unit_warn_if_dir_nonempty 0
unit_watch_bus_name 0
unit_will_restart 0
unit_write_setting 0
unit_write_settingf 0
user_from_unit_name 0
unit_can_start 4
unit_can_stop 4
collect_mode_from_string 16
set_unit_path 20
unit_export_state_files 24
unit_load_related_unit 24
unit_prepare_exec 24
unit_set_exec_params 24
unit_stop_pending 24
unit_unwatch_pid 24
unit_warn_leftover_processes 24
unit_watch_pid 24
check_unneeded_dependencies 28
retroactively_stop_dependencies 28
unit_emit_audit_stop 28
unit_exit_status 28
unit_log_resources 28
unit_log_success 28
unit_stop 28
unit_success_action_exit_status 28
unit_test_trigger_loaded 28
unit_update_dependency_mask 32
unit_enqueue_rewatch_pids 44
unit_test_start_limit 52
unit_process_job 96
unit_status_printf 104
unit_status_string 104
unit_start 124
unit_test_assert 124
unit_test_condition 124
unit_verify_deps 124
unit_add_node_dependency 132
unit_active_or_pending 146
unit_remove_dependencies 272
unit_add_two_dependencies_by_name 324
unit_setup_dynamic_creds 948
unit_setup_exec_runtime 948
unit_require_mounts_for 996
unit_add_exec_dependencies 1100
unit_set_slice 1100
unit_ref_set 1128
unit_set_default_slice 1144
unit_patch_contexts 1216
unit_add_dependency_by_name 1220
unit_type_supported 1232
unit_job_is_applicable 1244
resolve_template 1544
unit_load_fragment_and_dropin 1596
unit_add_two_dependencies 1608
unit_add_default_target_dependency 1620
unit_has_name 4368
unit_dump 4808
unit_need_daemon_reload 4808
unit_slice_name 4808
collect_mode_to_string 4824
unit_description 4912
unit_following 4960
unit_following_set 5536
unit_add_dependency 5760
unit_acquire_invocation_id 6020
unit_set_invocation_id 6020
unit_new_for_name 6908
retroactively_start_dependencies 6936
unit_load_fragment_and_dropin_optional 6936
unit_emit_audit_start 6964
unit_set_description 7040
unit_check_binds_to 7084
unit_needs_console 7084
unit_notify 7084
unit_submit_to_stop_when_unneeded_queue 7084
unit_update_on_console 7084
unit_add_mount_dependencies 7260
unit_add_slice_dependencies 7260
unit_add_startup_units 7260
unit_add_to_target_deps_queue 7260
unit_trigger_notify 7260
unit_catchup 7964
unit_coldplug 7964
unit_choose_id 8664
unit_merge 8664
unit_add_to_load_queue 8708
unit_load 8708
unit_get_kill_context 8720
unit_init 8720
unit_dequeue_rewatch_pids 8728
unit_done 8728
unit_free 8728
unit_free_requires_mounts_for 8728
unit_new 8728
unit_remove_transient 8728
unit_unref_gid 8728
unit_unref_uid 8728
unit_unref_uid_gid 8728
unit_unwatch_all_pids 8728
unit_unlink_state_files 8756
unit_merge_by_name 8808
unit_add_name 8872
unit_ref_unset 9503
fragment_mtime_newer 9616
unit_unref_uid_internal 17456
unit_may_gc 21057
unit_add_dependency_hashmap 23040
print_unit_dependency_mask 25024
unit_add_to_gc_queue 27872
unit_get_exec_context 28032
unit_follow_merge 35244
unit_get_cgroup_context 45860
unit_active_state 51025
unit_add_to_dbus_queue 61692
bidi_set_free 192016

Generated by: LCOV version 1.14