tree:   https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git 
for-4.18/block
head:   657e770d4d6e3b03c3d4b96e427b30d6f766e2e2
commit: b5c78af7bc40baa7dd71d1b5fccb78ece59812ba [6/13] blkcg: add generic 
throttling mechanism
config: i386-randconfig-x000-201820 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout b5c78af7bc40baa7dd71d1b5fccb78ece59812ba
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from kernel/exit.c:52:0:
   include/linux/tracehook.h: In function 'tracehook_notify_resume':
>> include/linux/tracehook.h:195:2: error: implicit declaration of function 
>> 'blkcg_maybe_throttle_current' [-Werror=implicit-function-declaration]
     blkcg_maybe_throttle_current();
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
   Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_read
   Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_write
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:set_bit
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:clear_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:variable_test_bit
   Cyclomatic Complexity 1 include/linux/list.h:INIT_LIST_HEAD
   Cyclomatic Complexity 1 include/linux/list.h:__list_add_valid
   Cyclomatic Complexity 1 include/linux/list.h:__list_del_entry_valid
   Cyclomatic Complexity 2 include/linux/list.h:__list_add
   Cyclomatic Complexity 1 include/linux/list.h:list_add
   Cyclomatic Complexity 1 include/linux/list.h:__list_del
   Cyclomatic Complexity 2 include/linux/list.h:__list_del_entry
   Cyclomatic Complexity 1 include/linux/list.h:list_del_init
   Cyclomatic Complexity 1 include/linux/list.h:list_empty
   Cyclomatic Complexity 1 include/linux/list.h:__list_splice
   Cyclomatic Complexity 2 include/linux/list.h:list_splice_tail_init
   Cyclomatic Complexity 1 include/linux/list.h:hlist_empty
   Cyclomatic Complexity 1 arch/x86/include/asm/current.h:get_current
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_read
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_inc
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_dec
   Cyclomatic Complexity 1 
arch/x86/include/asm/atomic.h:arch_atomic_dec_and_test
   Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_read
   Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_inc
   Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_dec
   Cyclomatic Complexity 1 
include/asm-generic/atomic-instrumented.h:atomic_dec_and_test
   Cyclomatic Complexity 7 
include/asm-generic/atomic-instrumented.h:cmpxchg_size
   Cyclomatic Complexity 1 include/asm-generic/atomic-long.h:atomic_long_read
   Cyclomatic Complexity 2 arch/x86/include/asm/jump_label.h:arch_static_branch
   Cyclomatic Complexity 1 include/linux/jump_label.h:static_key_false
   Cyclomatic Complexity 1 include/linux/thread_info.h:set_ti_thread_flag
   Cyclomatic Complexity 1 include/linux/thread_info.h:clear_ti_thread_flag
   Cyclomatic Complexity 2 include/linux/thread_info.h:test_ti_thread_flag
   Cyclomatic Complexity 1 include/linux/thread_info.h:check_object_size
   Cyclomatic Complexity 2 include/linux/thread_info.h:copy_overflow
   Cyclomatic Complexity 5 include/linux/thread_info.h:check_copy_size
   Cyclomatic Complexity 1 arch/x86/include/asm/preempt.h:preempt_count
   Cyclomatic Complexity 2 arch/x86/include/asm/preempt.h:preempt_count_set
   Cyclomatic Complexity 6 arch/x86/include/asm/preempt.h:__preempt_count_add
   Cyclomatic Complexity 1 
arch/x86/include/asm/preempt.h:__preempt_count_dec_and_test
   Cyclomatic Complexity 1 include/linux/lockdep.h:lockdep_free_task
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock_irq
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irq
   Cyclomatic Complexity 1 include/linux/wait.h:init_waitqueue_func_entry
   Cyclomatic Complexity 1 include/linux/seqlock.h:raw_write_seqcount_begin
   Cyclomatic Complexity 1 include/linux/seqlock.h:raw_write_seqcount_end
   Cyclomatic Complexity 1 include/linux/seqlock.h:write_seqcount_begin_nested
   Cyclomatic Complexity 1 include/linux/seqlock.h:write_seqcount_begin
   Cyclomatic Complexity 1 include/linux/seqlock.h:write_seqcount_end
   Cyclomatic Complexity 1 include/linux/seqlock.h:write_seqlock
   Cyclomatic Complexity 1 include/linux/seqlock.h:write_sequnlock
   Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_lock_acquire
   Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_lock_release
   Cyclomatic Complexity 4 include/linux/rcupdate.h:rcu_read_lock
   Cyclomatic Complexity 4 include/linux/rcupdate.h:rcu_read_unlock
   Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_read_lock_sched_notrace
   Cyclomatic Complexity 2 
include/linux/rcupdate.h:rcu_read_unlock_sched_notrace
   Cyclomatic Complexity 2 include/linux/page-flags.h:compound_head
   Cyclomatic Complexity 2 include/linux/page_ref.h:page_ref_dec_and_test
   Cyclomatic Complexity 1 include/linux/rculist.h:list_del_rcu
   Cyclomatic Complexity 1 include/linux/uidgid.h:__kuid_val
   Cyclomatic Complexity 1 include/linux/uidgid.h:from_kuid
   Cyclomatic Complexity 2 include/linux/uidgid.h:from_kuid_munged
   Cyclomatic Complexity 1 include/linux/mm.h:put_page_testzero
   Cyclomatic Complexity 2 include/linux/mm.h:put_page
   Cyclomatic Complexity 1 include/linux/mm.h:get_mm_counter
   Cyclomatic Complexity 1 include/linux/mm.h:get_mm_rss
   Cyclomatic Complexity 1 include/linux/mm.h:get_mm_hiwater_rss
   Cyclomatic Complexity 2 include/linux/mm.h:setmax_mm_hiwater_rss
   Cyclomatic Complexity 1 include/linux/mm.h:sync_mm_rss
   Cyclomatic Complexity 1 include/linux/sem.h:exit_sem
   Cyclomatic Complexity 1 include/linux/shm.h:exit_shm
   Cyclomatic Complexity 1 include/linux/kcov.h:kcov_task_exit
   Cyclomatic Complexity 1 include/linux/sched.h:task_pid
   Cyclomatic Complexity 1 include/linux/sched.h:task_pgrp
   Cyclomatic Complexity 1 include/linux/sched.h:task_session
   Cyclomatic Complexity 1 include/linux/sched.h:task_pid_nr
   Cyclomatic Complexity 1 include/linux/sched.h:task_pid_vnr
   Cyclomatic Complexity 1 include/linux/sched.h:task_tgid_nr
   Cyclomatic Complexity 1 include/linux/sched.h:is_global_init
   Cyclomatic Complexity 1 include/linux/sched.h:task_thread_info
   Cyclomatic Complexity 1 include/linux/sched.h:clear_tsk_thread_flag
   Cyclomatic Complexity 1 include/linux/sched.h:test_tsk_thread_flag
   Cyclomatic Complexity 1 include/linux/sched/mm.h:mmgrab
   Cyclomatic Complexity 2 include/linux/sched/task.h:put_task_struct
   Cyclomatic Complexity 1 include/linux/sched/task.h:task_lock
   Cyclomatic Complexity 1 include/linux/sched/task.h:task_unlock
   Cyclomatic Complexity 1 include/linux/sched/task_stack.h:end_of_stack
   Cyclomatic Complexity 2 include/linux/sched/task_stack.h:stack_not_used
   Cyclomatic Complexity 1 include/linux/cred.h:validate_creds_for_do_exit
   Cyclomatic Complexity 1 include/linux/cred.h:current_user_ns
   Cyclomatic Complexity 3 include/linux/sched/signal.h:signal_group_exit
   Cyclomatic Complexity 1 include/linux/sched/signal.h:signal_pending
--
   In file included from kernel/signal.c:32:0:
   include/linux/tracehook.h: In function 'tracehook_notify_resume':
>> include/linux/tracehook.h:195:2: error: implicit declaration of function 
>> 'blkcg_maybe_throttle_current' [-Werror=implicit-function-declaration]
     blkcg_maybe_throttle_current();
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
   Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_read
   Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_write
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:set_bit
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:clear_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:variable_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:ffz
   Cyclomatic Complexity 1 include/linux/list.h:INIT_LIST_HEAD
   Cyclomatic Complexity 1 include/linux/list.h:__list_add_valid
   Cyclomatic Complexity 1 include/linux/list.h:__list_del_entry_valid
   Cyclomatic Complexity 2 include/linux/list.h:__list_add
   Cyclomatic Complexity 1 include/linux/list.h:list_add_tail
   Cyclomatic Complexity 1 include/linux/list.h:__list_del
   Cyclomatic Complexity 2 include/linux/list.h:__list_del_entry
   Cyclomatic Complexity 1 include/linux/list.h:list_del_init
   Cyclomatic Complexity 1 include/linux/list.h:list_empty
   Cyclomatic Complexity 1 include/linux/list.h:hlist_empty
   Cyclomatic Complexity 1 arch/x86/include/asm/current.h:get_current
   Cyclomatic Complexity 1 include/asm-generic/ptrace.h:user_stack_pointer
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_read
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_inc
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_dec
   Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_read
   Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_inc
   Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_dec
   Cyclomatic Complexity 2 arch/x86/include/asm/jump_label.h:arch_static_branch
   Cyclomatic Complexity 1 include/linux/jump_label.h:static_key_false
   Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:arch_local_save_flags
   Cyclomatic Complexity 1 
arch/x86/include/asm/paravirt.h:arch_local_irq_restore
   Cyclomatic Complexity 1 
arch/x86/include/asm/paravirt.h:arch_local_irq_disable
   Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:arch_local_irq_save
   Cyclomatic Complexity 1 
arch/x86/include/asm/irqflags.h:arch_irqs_disabled_flags
   Cyclomatic Complexity 1 include/linux/thread_info.h:set_ti_thread_flag
   Cyclomatic Complexity 1 include/linux/thread_info.h:clear_ti_thread_flag
   Cyclomatic Complexity 2 include/linux/thread_info.h:test_ti_thread_flag
   Cyclomatic Complexity 1 include/linux/thread_info.h:check_object_size
   Cyclomatic Complexity 2 include/linux/thread_info.h:copy_overflow
   Cyclomatic Complexity 5 include/linux/thread_info.h:check_copy_size
   Cyclomatic Complexity 1 arch/x86/include/asm/preempt.h:preempt_count
   Cyclomatic Complexity 6 arch/x86/include/asm/preempt.h:__preempt_count_add
   Cyclomatic Complexity 1 
arch/x86/include/asm/preempt.h:__preempt_count_dec_and_test
   Cyclomatic Complexity 1 arch/x86/include/asm/preempt.h:should_resched
   Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock_irq
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irq
   Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock_irqrestore
   Cyclomatic Complexity 1 include/linux/wait.h:waitqueue_active
   Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_lock_acquire
   Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_lock_release
   Cyclomatic Complexity 4 include/linux/rcupdate.h:rcu_read_lock
   Cyclomatic Complexity 4 include/linux/rcupdate.h:rcu_read_unlock
   Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_read_lock_sched_notrace
   Cyclomatic Complexity 2 
include/linux/rcupdate.h:rcu_read_unlock_sched_notrace
   Cyclomatic Complexity 3 include/linux/time32.h:timespec_valid
   Cyclomatic Complexity 2 include/linux/ktime.h:ktime_set
   Cyclomatic Complexity 1 include/linux/ktime.h:timespec_to_ktime
   Cyclomatic Complexity 1 include/linux/uidgid.h:__kuid_val
   Cyclomatic Complexity 1 include/linux/uidgid.h:uid_eq
   Cyclomatic Complexity 1 include/linux/uidgid.h:from_kuid
   Cyclomatic Complexity 2 include/linux/uidgid.h:from_kuid_munged
   Cyclomatic Complexity 1 include/linux/hrtimer.h:hrtimer_get_expires
   Cyclomatic Complexity 1 include/linux/hrtimer.h:hrtimer_get_softexpires
   Cyclomatic Complexity 1 include/linux/hrtimer.h:hrtimer_start_expires
   Cyclomatic Complexity 1 include/linux/hrtimer.h:hrtimer_restart
   Cyclomatic Complexity 1 include/linux/hrtimer.h:hrtimer_is_queued
   Cyclomatic Complexity 1 arch/x86/include/asm/signal.h:__gen_sigaddset
   Cyclomatic Complexity 1 arch/x86/include/asm/signal.h:__const_sigaddset
   Cyclomatic Complexity 1 arch/x86/include/asm/signal.h:__gen_sigdelset
   Cyclomatic Complexity 1 arch/x86/include/asm/signal.h:__const_sigdelset
   Cyclomatic Complexity 1 arch/x86/include/asm/signal.h:__const_sigismember
   Cyclomatic Complexity 1 arch/x86/include/asm/signal.h:__gen_sigismember
   Cyclomatic Complexity 1 include/linux/sched.h:task_pgrp
   Cyclomatic Complexity 1 include/linux/sched.h:task_session
   Cyclomatic Complexity 1 include/linux/sched.h:task_pid_nr_ns
   Cyclomatic Complexity 1 include/linux/sched.h:task_pid_vnr
   Cyclomatic Complexity 1 include/linux/sched.h:task_tgid_nr
   Cyclomatic Complexity 1 include/linux/sched.h:task_tgid_nr_ns
   Cyclomatic Complexity 1 include/linux/sched.h:task_tgid_vnr
   Cyclomatic Complexity 1 include/linux/sched.h:is_global_init
   Cyclomatic Complexity 1 include/linux/sched.h:task_thread_info
   Cyclomatic Complexity 1 include/linux/sched.h:kick_process
   Cyclomatic Complexity 1 include/linux/sched.h:set_tsk_thread_flag
   Cyclomatic Complexity 1 include/linux/sched.h:clear_tsk_thread_flag
   Cyclomatic Complexity 1 include/linux/sched.h:test_tsk_thread_flag
   Cyclomatic Complexity 1 include/linux/sched/user.h:get_uid
   Cyclomatic Complexity 1 include/linux/sched/task_stack.h:task_stack_page
   Cyclomatic Complexity 1 include/linux/signal.h:copy_siginfo
   Cyclomatic Complexity 1 include/linux/signal.h:clear_siginfo
   Cyclomatic Complexity 1 include/linux/signal.h:sigisemptyset
   Cyclomatic Complexity 3 include/linux/signal.h:sigequalsets
   Cyclomatic Complexity 1 include/linux/signal.h:sigorsets
   Cyclomatic Complexity 1 include/linux/signal.h:sigandsets
   Cyclomatic Complexity 1 include/linux/signal.h:sigandnsets
   Cyclomatic Complexity 1 include/linux/signal.h:signotset
--
   In file included from kernel/task_work.c:4:0:
   include/linux/tracehook.h: In function 'tracehook_notify_resume':
>> include/linux/tracehook.h:195:2: error: implicit declaration of function 
>> 'blkcg_maybe_throttle_current' [-Werror=implicit-function-declaration]
     blkcg_maybe_throttle_current();
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 1 include/linux/kasan-checks.h:kasan_check_write
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:test_and_set_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/current.h:get_current
   Cyclomatic Complexity 7 
include/asm-generic/atomic-instrumented.h:cmpxchg_size
   Cyclomatic Complexity 1 
include/linux/thread_info.h:test_and_set_ti_thread_flag
   Cyclomatic Complexity 1 include/linux/sched.h:task_thread_info
   Cyclomatic Complexity 1 include/linux/sched.h:kick_process
   Cyclomatic Complexity 1 include/linux/sched.h:test_and_set_tsk_thread_flag
   Cyclomatic Complexity 1 include/linux/sched.h:_cond_resched
   Cyclomatic Complexity 2 include/linux/tracehook.h:set_notify_resume
   Cyclomatic Complexity 4 kernel/task_work.c:task_work_add
   Cyclomatic Complexity 5 kernel/task_work.c:task_work_cancel
   Cyclomatic Complexity 6 kernel/task_work.c:task_work_run
   cc1: some warnings being treated as errors
--
   In file included from arch/x86/entry/common.c:17:0:
   include/linux/tracehook.h: In function 'tracehook_notify_resume':
>> include/linux/tracehook.h:195:2: error: implicit declaration of function 
>> 'blkcg_maybe_throttle_current' [-Werror=implicit-function-declaration]
     blkcg_maybe_throttle_current();
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 1 
arch/x86/include/asm/barrier.h:array_index_mask_nospec
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:clear_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:constant_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:variable_test_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/current.h:get_current
   Cyclomatic Complexity 1 include/linux/list.h:hlist_empty
   Cyclomatic Complexity 1 include/linux/bug.h:check_data_corruption
   Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:arch_local_save_flags
   Cyclomatic Complexity 1 
arch/x86/include/asm/paravirt.h:arch_local_irq_disable
   Cyclomatic Complexity 1 arch/x86/include/asm/paravirt.h:arch_local_irq_enable
   Cyclomatic Complexity 1 
arch/x86/include/asm/irqflags.h:arch_irqs_disabled_flags
   Cyclomatic Complexity 2 arch/x86/include/asm/jump_label.h:arch_static_branch
   Cyclomatic Complexity 1 include/linux/jump_label.h:static_key_false
   Cyclomatic Complexity 3 arch/x86/include/asm/cpufeature.h:_static_cpu_has
   Cyclomatic Complexity 1 include/linux/thread_info.h:clear_ti_thread_flag
   Cyclomatic Complexity 2 include/linux/thread_info.h:test_ti_thread_flag
   Cyclomatic Complexity 6 arch/x86/include/asm/preempt.h:__preempt_count_add
   Cyclomatic Complexity 1 
arch/x86/include/asm/preempt.h:__preempt_count_dec_and_test
   Cyclomatic Complexity 1 include/linux/rcupdate.h:rcu_read_lock_sched_notrace
   Cyclomatic Complexity 2 
include/linux/rcupdate.h:rcu_read_unlock_sched_notrace
   Cyclomatic Complexity 1 arch/x86/include/asm/signal.h:__const_sigismember
   Cyclomatic Complexity 1 include/linux/sched.h:task_thread_info
   Cyclomatic Complexity 1 include/linux/sched.h:test_tsk_thread_flag
   Cyclomatic Complexity 1 include/linux/sched/signal.h:signal_pending
   Cyclomatic Complexity 1 include/linux/sched/signal.h:__fatal_signal_pending
   Cyclomatic Complexity 3 include/linux/sched/signal.h:fatal_signal_pending
   Cyclomatic Complexity 1 
include/linux/context_tracking_state.h:context_tracking_is_enabled
   Cyclomatic Complexity 3 include/linux/tracehook.h:ptrace_report_syscall
   Cyclomatic Complexity 1 
include/linux/tracehook.h:tracehook_report_syscall_entry
   Cyclomatic Complexity 2 
include/linux/tracehook.h:tracehook_report_syscall_exit
   Cyclomatic Complexity 2 include/linux/tracehook.h:tracehook_notify_resume
   Cyclomatic Complexity 1 include/linux/audit.h:audit_syscall_entry
   Cyclomatic Complexity 1 include/linux/audit.h:audit_syscall_exit
   Cyclomatic Complexity 1 include/linux/context_tracking.h:user_enter_irqoff
   Cyclomatic Complexity 1 include/linux/context_tracking.h:ct_state
   Cyclomatic Complexity 1 
include/linux/user-return-notifier.h:fire_user_return_notifiers
   Cyclomatic Complexity 1 include/linux/livepatch.h:klp_update_patch_state
   Cyclomatic Complexity 1 
arch/x86/include/asm/stacktrace.h:caller_frame_pointer
   Cyclomatic Complexity 1 include/linux/perf_event.h:perf_fetch_caller_regs
   Cyclomatic Complexity 1 include/linux/trace_events.h:bpf_prog_array_valid
   Cyclomatic Complexity 5 
include/linux/trace_events.h:trace_trigger_soft_disabled
   Cyclomatic Complexity 5 include/linux/syscalls.h:addr_limit_user_check
   Cyclomatic Complexity 1 arch/x86/include/asm/syscall.h:syscall_get_nr
   Cyclomatic Complexity 1 arch/x86/include/asm/syscall.h:syscall_get_arguments
   Cyclomatic Complexity 10 include/trace/events/syscalls.h:trace_sys_enter
   Cyclomatic Complexity 10 include/trace/events/syscalls.h:trace_sys_exit
   Cyclomatic Complexity 1 
include/trace/events/syscalls.h:trace_init_flags_sys_enter
   Cyclomatic Complexity 1 
include/trace/events/syscalls.h:trace_init_flags_sys_exit
   Cyclomatic Complexity 1 
include/trace/events/syscalls.h:trace_event_get_offsets_sys_enter
   Cyclomatic Complexity 1 
include/trace/events/syscalls.h:trace_event_get_offsets_sys_exit
   Cyclomatic Complexity 1 arch/x86/entry/common.c:enter_from_user_mode
   Cyclomatic Complexity 1 arch/x86/entry/common.c:do_audit_syscall_entry
   Cyclomatic Complexity 3 
include/trace/events/syscalls.h:trace_event_define_fields_sys_exit
   Cyclomatic Complexity 4 
include/trace/events/syscalls.h:trace_event_define_fields_sys_enter
   Cyclomatic Complexity 6 include/trace/events/syscalls.h:perf_trace_sys_enter
   Cyclomatic Complexity 6 include/trace/events/syscalls.h:perf_trace_sys_exit
   Cyclomatic Complexity 4 arch/x86/entry/common.c:syscall_slow_exit_work
   Cyclomatic Complexity 8 arch/x86/entry/common.c:syscall_trace_enter
   Cyclomatic Complexity 3 
include/trace/events/syscalls.h:trace_event_raw_event_sys_enter
   Cyclomatic Complexity 3 
include/trace/events/syscalls.h:trace_event_raw_event_sys_exit
   Cyclomatic Complexity 2 
include/trace/events/syscalls.h:trace_raw_output_sys_enter
   Cyclomatic Complexity 2 
include/trace/events/syscalls.h:trace_raw_output_sys_exit
   Cyclomatic Complexity 8 arch/x86/entry/common.c:exit_to_usermode_loop
   Cyclomatic Complexity 8 arch/x86/entry/common.c:prepare_exit_to_usermode
   Cyclomatic Complexity 7 arch/x86/entry/common.c:syscall_return_slowpath
   Cyclomatic Complexity 5 arch/x86/entry/common.c:do_syscall_32_irqs_on
   Cyclomatic Complexity 1 arch/x86/entry/common.c:do_int80_syscall_32
   Cyclomatic Complexity 7 arch/x86/entry/common.c:do_fast_syscall_32
   cc1: some warnings being treated as errors
..

vim +/blkcg_maybe_throttle_current +195 include/linux/tracehook.h

   169  
   170  /**
   171   * tracehook_notify_resume - report when about to return to user mode
   172   * @regs:               user-mode registers of @current task
   173   *
   174   * This is called when %TIF_NOTIFY_RESUME has been set.  Now we are
   175   * about to return to user mode, and the user state in @regs can be
   176   * inspected or adjusted.  The caller in arch code has cleared
   177   * %TIF_NOTIFY_RESUME before the call.  If the flag gets set again
   178   * asynchronously, this will be called again before we return to
   179   * user mode.
   180   *
   181   * Called without locks.
   182   */
   183  static inline void tracehook_notify_resume(struct pt_regs *regs)
   184  {
   185          /*
   186           * The caller just cleared TIF_NOTIFY_RESUME. This barrier
   187           * pairs with task_work_add()->set_notify_resume() after
   188           * hlist_add_head(task->task_works);
   189           */
   190          smp_mb__after_atomic();
   191          if (unlikely(current->task_works))
   192                  task_work_run();
   193  
   194          mem_cgroup_handle_over_high();
 > 195          blkcg_maybe_throttle_current();
   196  }
   197  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to