CTC++ Coverage Report - Functions Summary

Files Summary | Functions Summary | Execution Profile

File: scripts/mod/empty.c
Instrumentation mode: function-decision-multicondition
TER: 100 % ( 0/ 0)
Previous | Next

TER % - covered/ all   Calls Line Function


100 %   0/ 0    empty.c

File: init/main.c
Instrumentation mode: function-decision-multicondition
TER: 37 % ( 58/157)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   1/ 1  97 mark_rodata_ro()
0 % - 0/ 2  137 nosmp()
0 % - 0/ 2  145 maxcpus()
40 % - 8/ 20  159 obsolete_checksetup()
0 % - 0/ 5  192 debug_kernel()
0 % - 0/ 5  200 quiet_kernel()
0 % - 0/ 2  211 loglevel()
15 % - 5/ 34  223 unknown_bootoption()
0 % - 0/ 4  280 init_setup()
0 % - 0/ 4  297 rdinit_setup()
100 %   1/ 1  314 smp_init()
100 %   1/ 1  322 setup_per_cpu_areas()
100 %   1/ 1  323 smp_prepare_cpus()
57 % - 4/ 7  387 rest_init()
55 % - 6/ 11  407 do_early_param()
50 % - 2/ 4  423 parse_early_param()
53 % - 10/ 19  441 start_kernel()
0 % - 0/ 2  551 initcall_debug_setup()
54 % - 7/ 13  562 do_initcalls()
100 %   1/ 1  604 do_basic_setup()
100 %   1/ 1  618 do_pre_smp_initcalls()
100 %   1/ 1  630 run_init_process()
100 %   1/ 1  636 fixup_cpu_present_map()
53 % - 8/ 15  654 init()

37 % - 58/ 157    main.c

File: init/version.c
Instrumentation mode: function-decision-multicondition
TER: 100 % ( 0/ 0)
Previous | Next

TER % - covered/ all   Calls Line Function


100 %   0/ 0    version.c

File: init/do_mounts.c
Instrumentation mode: function-decision-multicondition
TER: 38 % ( 64/169)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  29 load_ramdisk()
0 % - 0/ 5  36 readonly()
0 % - 0/ 5  44 readwrite()
40 % - 17/ 42  55 try_name()
33 % - 20/ 60  137 name_to_dev_t()
100 %   2/ 2  209 root_dev_setup()
0 % - 0/ 2  218 root_data_setup()
0 % - 0/ 2  225 fs_names_setup()
0 % - 0/ 2  232 root_delay_setup()
64 % - 9/ 14  242 get_fs_names()
57 % - 4/ 7  269 do_mount_root()
44 % - 4/ 9  284 mount_block_root()
100 %   1/ 1  362 mount_root()
44 % - 7/ 16  392 prepare_namespace()

38 % - 64/ 169    do_mounts.c

File: init/initramfs.c
Instrumentation mode: function-decision-multicondition
TER: 44 % (223/504)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 3  11 error()
100 %   2/ 2  330 17 malloc()
100 %   1/ 1  330 22 free()
0 % - 0/ 2  35 hash()
0 % - 0/ 16  42 find_link()
80 % - 4/ 5  66 free_hash()
100 %   3/ 3  12 87 parse_header()
100 %   1/ 1  132 129 eat()
67 % - 2/ 3  24 142 read_into()
100 %   2/ 2  12 158 do_start()
0 % - 0/ 7  164 do_collect()
36 % - 9/ 25  12 178 do_header()
60 % - 3/ 5  12 208 do_skip()
83 % - 10/ 12  12 220 do_reset()
33 % - 3/ 9  229 maybe_link()
48 % - 12/ 25  12 241 do_name()
0 % - 0/ 5  275 do_copy()
0 % - 0/ 2  291 do_symlink()
100 %   4/ 4  12 312 write_buffer()
54 % - 7/ 13  322 flush_buffer()
70 % - 50/ 71  279 huft_build()
100 %   4/ 4  500 huft_free()
64 % - 32/ 50  522 inflate_codes()
0 % - 0/ 16  637 inflate_stored()
71 % - 15/ 21  698 inflate_fixed()
0 % - 0/ 70  754 inflate_dynamic()
50 % - 8/ 16  935 inflate_block()
55 % - 6/ 11  986 inflate()
100 %   11/ 11  1049 makecrc()
27 % - 15/ 56  1096 gunzip()
100 %   1/ 1  387 gzip_mark()
100 %   1/ 1  391 gzip_release()
100 %   3/ 3  399 flush_window()
48 % - 12/ 25  416 unpack_to_rootfs()
67 % - 2/ 3  501 populate_rootfs()

44 % - 223/ 504    initramfs.c

File: init/calibrate.c
Instrumentation mode: function-decision-multicondition
TER: 37 % ( 18/ 49)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  14 lpj_setup()
58 % - 15/ 26  32 calibrate_delay_direct()
14 % - 3/ 21  115 calibrate_delay()

37 % - 18/ 49    calibrate.c

File: arch/x86_64/kernel/process.c
Instrumentation mode: function-decision-multicondition
TER: 42 % (130/312)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 17  72 idle_notifier_register()
0 % - 0/ 17  81 idle_notifier_unregister()
100 %   1/ 1  1220384626 93 enter_idle()
100 %   1/ 1  1227071598 99 __exit_idle()
100 %   4/ 4  7931411 106 exit_idle()
80 % - 4/ 5  327 117 default_idle()
0 % - 0/ 1  138 poll_idle()
0 % - 0/ 16  152 cpu_idle_wait()
0 % - 0/ 1  199 play_dead()
67 % - 10/ 15  211 cpu_idle()
0 % - 0/ 6  247 mwait_idle()
33 % - 3/ 9  260 select_idle_routine()
0 % - 0/ 4  278 idle_setup()
0 % - 0/ 7  292 __show_regs()
0 % - 0/ 1  341 show_regs()
80 % - 4/ 5  30036 351 exit_thread()
67 % - 6/ 9  14334 377 flush_thread()
40 % - 2/ 5  30036 399 release_thread()
0 % - 0/ 1  412 set_32bit_tls()
0 % - 0/ 2  427 read_32bit_tls()
80 % - 4/ 5  30212 440 prepare_to_copy()
62 % - 13/ 21  30212 445 copy_thread()
62 % - 34/ 55  8762676 523 __switch_to()
71 % - 5/ 7  15446 641 sys_execve()
100 %   1/ 1  28612 661 set_personality_64bit()
0 % - 0/ 2  675 sys_fork()
75 % - 3/ 4  28623 681 sys_clone()
100 %   2/ 2  27 699 sys_vfork()
73 % - 19/ 26  45650 705 get_wchan()
17 % - 9/ 54  14306 729 do_arch_prctl()
100 %   2/ 2  14306 819 sys_arch_prctl()
0 % - 0/ 2  827 dump_task_regs()
75 % - 3/ 4  28640 842 arch_align_stack()

42 % - 130/ 312    process.c

File: arch/x86_64/kernel/signal.c
Instrumentation mode: function-decision-multicondition
TER: 53 % ( 95/179)
Previous | Next

TER % - covered/ all   Calls Line Function

50 % - 12/ 24  43 sys_rt_sigsuspend()
100 %   2/ 2  45 74 sys_sigaltstack()
63 % - 10/ 16  319154 93 restore_sigcontext()
44 % - 12/ 27  319154 153 sys_rt_sigreturn()
100 %   2/ 2  319165 195 setup_sigcontext()
50 % - 3/ 6  319165 234 get_stack()
43 % - 13/ 30  319165 251 setup_rt_frame()
59 % - 22/ 37  319186 359 handle_signal()
59 % - 16/ 27  319220 431 do_signal()
60 % - 3/ 5  319218 487 do_notify_resume()
0 % - 0/ 3  505 signal_fault()

53 % - 95/ 179    signal.c

File: arch/x86_64/kernel/traps.c
Instrumentation mode: function-decision-multicondition
TER: 3 % ( 10/376)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 18  77 register_die_notifier()
0 % - 0/ 3  87 conditional_sti()
0 % - 0/ 5  93 preempt_conditional_sti()
0 % - 0/ 5  100 preempt_conditional_cli()
0 % - 0/ 7  111 printk_address()
0 % - 0/ 15  134 in_exception_stack()
0 % - 0/ 39  198 show_trace()
0 % - 0/ 22  264 show_stack()
0 % - 0/ 1  304 dump_stack()
0 % - 0/ 11  312 show_registers()
0 % - 0/ 21  354 handle_BUG()
0 % - 0/ 1  380 out_of_line_bug()
0 % - 0/ 14  389 oops_begin()
0 % - 0/ 9  408 oops_end()
0 % - 0/ 1  417 __die()
0 % - 0/ 1  439 die()
0 % - 0/ 6  449 die_nmi()
0 % - 0/ 14  466 do_trap()
0 % - 0/ 4  527 do_divide_error()
0 % - 0/ 4  528 do_overflow()
0 % - 0/ 4  529 do_bounds()
0 % - 0/ 4  530 do_invalid_op()
0 % - 0/ 4  531 do_device_not_available()
0 % - 0/ 4  532 do_coprocessor_segment_overrun()
0 % - 0/ 4  533 do_invalid_TSS()
0 % - 0/ 4  534 do_segment_not_present()
0 % - 0/ 4  535 do_alignment_check()
0 % - 0/ 4  536 do_reserved()
0 % - 0/ 4  537 do_stack_segment()
0 % - 0/ 3  539 do_double_fault()
0 % - 0/ 15  556 do_general_protection()
0 % - 0/ 1  593 mem_parity_error()
0 % - 0/ 7  604 io_check_error()
0 % - 0/ 1  618 unknown_nmi_error()
32 % - 6/ 19  6921 626 default_do_nmi()
0 % - 0/ 5  666 do_int3()
0 % - 0/ 10  678 sync_regs()
0 % - 0/ 19  697 do_debug()
0 % - 0/ 5  764 kernel_math_error()
0 % - 0/ 21  784 do_coprocessor_error()
0 % - 0/ 1  848 bad_intr()
0 % - 0/ 21  853 do_simd_coprocessor_error()
0 % - 0/ 1  907 do_spurious_interrupt_bug()
0 % - 0/ 1  911 smp_thermal_interrupt()
0 % - 0/ 1  915 mce_threshold_interrupt()
100 %   3/ 3  1320632 926 math_state_restore()
100 %   1/ 1  937 trap_init()
0 % - 0/ 2  974 oops_dummy()
0 % - 0/ 2  981 kstack_setup()

3 % - 10/ 376    traps.c

File: arch/x86_64/kernel/irq.c
Instrumentation mode: function-decision-multicondition
TER: 18 % ( 10/ 57)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 41  33 show_interrupts()
67 % - 4/ 6  4481305 97 do_IRQ()
60 % - 6/ 10  3679084 142 do_softirq()

18 % - 10/ 57    irq.c

File: arch/x86_64/kernel/ptrace.c
Instrumentation mode: function-decision-multicondition
TER: 0 % ( 0/322)
Previous | Next

TER % - covered/ all   Calls Line Function

0 % - 0/ 2  61 get_stack_long()
0 % - 0/ 2  76 put_stack_long()
0 % - 0/ 6  89 convert_rip_to_linear()
0 % - 0/ 24  119 is_at_popf()
0 % - 0/ 7  165 set_singlestep()
0 % - 0/ 3  198 clear_singlestep()
0 % - 0/ 1  216 ptrace_disable()
0 % - 0/ 75  221 putreg()
0 % - 0/ 17  287 getreg()
0 % - 0/ 154  313 arch_ptrace()
0 % - 0/ 5  574 syscall_trace()
0 % - 0/ 14  597 syscall_trace_enter()
0 % - 0/ 12  621 syscall_trace_leave()

0 % - 0/ 322    ptrace.c

File: arch/x86_64/kernel/time.c
Instrumentation mode: function-decision-multicondition
TER: 40 % (138/343)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   4/ 4  12724986 86 do_gettimeoffset_tsc()
0 % - 0/ 2  96 do_gettimeoffset_hpet()
100 %   3/ 3  12724887 111 do_gettimeofday()
55 % - 6/ 11  149 do_settimeofday()
13 % - 3/ 23  3035018 177 profile_pc()
0 % - 0/ 11  207 set_rtc_mmss()
0 % - 0/ 9  281 monotonic_clock()
29 % - 6/ 21  150 312 handle_lost_ticks()
60 % - 21/ 35  3450204 353 main_timer_handler()
71 % - 5/ 7  3450204 468 timer_interrupt()
100 %   1/ 1  11 483 set_cyc2ns_scale()
100 %   2/ 2  17818456 488 cycles_2_ns()
75 % - 3/ 4  17818456 493 sched_clock()
63 % - 15/ 24  515 get_cmos_time()
100 %   3/ 3  589 handle_cpufreq_delayed_get()
63 % - 5/ 8  602 cpufreq_delayed_get()
46 % - 12/ 26  620 time_cpufreq_notifier()
63 % - 5/ 8  662 cpufreq_tsc()
0 % - 0/ 11  682 hpet_calibrate_tsc()
60 % - 12/ 20  715 pit_calibrate_tsc()
0 % - 0/ 4  786 hpet_timer_stop_set_go()
18 % - 3/ 17  821 hpet_init()
0 % - 0/ 2  851 hpet_reenable()
53 % - 9/ 17  859 __pit_init()
100 %   1/ 1  870 pit_init()
0 % - 0/ 1  875 pit_stop_interrupt()
0 % - 0/ 3  880 stop_timer_interrupt()
0 % - 0/ 2  893 time_setup()
50 % - 6/ 12  903 time_init()
100 %   2/ 2  970 unsynchronized_tsc()
38 % - 8/ 21  987 time_init_gtod()
0 % - 0/ 2  1027 timer_suspend()
0 % - 0/ 18  1040 timer_resume()
75 % - 3/ 4  1087 time_init_device()
0 % - 0/ 2  1322 nohpet_setup()
0 % - 0/ 2  1330 notsc_setup()

40 % - 138/ 343    time.c

File: arch/x86_64/kernel/ioport.c
Instrumentation mode: function-decision-multicondition
TER: 67 % ( 28/ 42)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   7/ 7  14 21 set_bitmap()
60 % - 15/ 25  14 35 sys_ioperm()
60 % - 6/ 10  105 sys_iopl()

67 % - 28/ 42    ioport.c

File: arch/x86_64/kernel/ldt.c
Instrumentation mode: function-decision-multicondition
TER: 32 % ( 38/117)
Previous | Next

TER % - covered/ all   Calls Line Function

50 % - 9/ 18  34 alloc_ldt()
0 % - 0/ 5  84 copy_ldt()
71 % - 5/ 7  42989 97 init_new_context()
100 %   5/ 5  42887 117 destroy_context()
0 % - 0/ 20  128 read_ldt()
0 % - 0/ 7  162 read_default_ldt()
29 % - 13/ 45  49 173 write_ldt()
60 % - 6/ 10  49 234 sys_modify_ldt()

32 % - 38/ 117    ldt.c

File: arch/x86_64/kernel/setup.c
Instrumentation mode: function-decision-multicondition
TER: 51 % (160/315)
Previous | Next

TER % - covered/ all   Calls Line Function

100 %   4/ 4  199 romchecksum()
61 % - 20/ 33  208 probe_roms()
48 % - 34/ 71  273 parse_cmdline_early()
67 % - 2/ 3  450 contig_initmem_init()
71 % - 15/ 21  492 apply_alternatives()
50 % - 2/ 4  522 alternative_instructions()
0 % - 0/ 2  530 noreplacement_setup()
100 %   1/ 1  548 copy_edd()
67 % - 2/ 3  562 reserve_ebda_region()
67 % - 6/ 9  575 setup_arch()
60 % - 3/ 5  760 get_model_name()
56 % - 5/ 9  776 display_cacheinfo()
100 %   1/ 1  832 amd_detect_cmp()
41 % - 9/ 22  881 init_amd()
100 %   1/ 1  943 detect_ht()
0 % - 0/ 8  994 intel_num_cpu_cores()
0 % - 0/ 1  1012 srat_detect_node()
0 % - 0/ 21  1030 init_intel()
40 % - 2/ 5  1059 get_cpu_vendor()
56 % - 5/ 9  1080 early_identify_cpu()
38 % - 9/ 24  1134 identify_cpu()
50 % - 4/ 8  1214 print_cpu_info()
63 % - 26/ 41  49 1229 show_cpuinfo()
100 %   4/ 4  115 1388 c_start()
100 %   2/ 2  49 1393 c_next()
100 %   1/ 1  66 1399 c_stop()
100 %   2/ 2  1410 run_dmi_scan()

51 % - 160/ 315    setup.c

File: arch/x86_64/kernel/i8259.c
Instrumentation mode: function-decision-multicondition
TER: 53 % ( 90/171)
Previous | Next

TER % - covered/ all   Calls Line Function

50 % - 4/ 8  72 132 end_8259A_irq()
100 %   2/ 2  21 150 startup_8259A_irq()
58 % - 11/ 19  264 190 disable_8259A_irq()
53 % - 10/ 19  96 204 enable_8259A_irq()
60 % - 12/ 20  207 218 i8259A_irq_pending()
100 %   1/ 1  234 make_8259A_irq()
0 % - 0/ 5