lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201711290442.niKDzhaU%fengguang.wu@intel.com>
Date:   Wed, 29 Nov 2017 04:47:44 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     Joel Fernandes <joelaf@...gle.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        "Steven Rostedt (VMware)" <rostedt@...dmis.org>
Subject: kernel/trace/trace_irqsoff.c:855:2: error: implicit declaration of
 function 'trace_preempt_enable_rcuidle'; did you mean
 'trace_irq_enable_rcuidle'?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   43f462f1c2e111d2882b48baeeff774ae42e7c56
commit: d59158162e032917a428704160a2063a02405ec6 tracing: Add support for preempt and irq enable/disable events
date:   7 weeks ago
config: x86_64-randconfig-b0-11290312 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout d59158162e032917a428704160a2063a02405ec6
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/trace/trace_irqsoff.c: In function 'trace_preempt_on':
>> kernel/trace/trace_irqsoff.c:855:2: error: implicit declaration of function 'trace_preempt_enable_rcuidle'; did you mean 'trace_irq_enable_rcuidle'? [-Werror=implicit-function-declaration]
     trace_preempt_enable_rcuidle(a0, a1);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
     trace_irq_enable_rcuidle
   kernel/trace/trace_irqsoff.c: In function 'trace_preempt_off':
>> kernel/trace/trace_irqsoff.c:861:2: error: implicit declaration of function 'trace_preempt_disable_rcuidle'; did you mean 'trace_irq_disable_rcuidle'? [-Werror=implicit-function-declaration]
     trace_preempt_disable_rcuidle(a0, a1);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     trace_irq_disable_rcuidle
   Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
   Cyclomatic Complexity 1 arch/x86/include/asm/current.h:get_current
   Cyclomatic Complexity 1 include/linux/list.h:hlist_empty
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:atomic_read
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:atomic_inc
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:atomic_dec
   Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:atomic_add_return
   Cyclomatic Complexity 1 include/linux/jump_label.h:static_key_count
   Cyclomatic Complexity 2 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 arch/x86/include/asm/preempt.h:preempt_count
   Cyclomatic Complexity 5 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/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/stacktrace.h:caller_frame_pointer
   Cyclomatic Complexity 1 include/linux/perf_event.h:perf_fetch_caller_regs
   Cyclomatic Complexity 5 include/linux/trace_events.h:trace_trigger_soft_disabled
   Cyclomatic Complexity 1 kernel/trace/trace.h:ftrace_graph_addr
   Cyclomatic Complexity 1 kernel/trace/trace.h:ftrace_graph_notrace_addr
   Cyclomatic Complexity 6 kernel/trace/trace.h:ftrace_graph_ignore_func
   Cyclomatic Complexity 6 include/trace/events/preemptirq.h:trace_irq_disable_rcuidle
   Cyclomatic Complexity 6 include/trace/events/preemptirq.h:trace_irq_enable_rcuidle
   Cyclomatic Complexity 1 include/trace/events/preemptirq.h:trace_event_get_offsets_preemptirq_template
   Cyclomatic Complexity 3 kernel/trace/trace_irqsoff.c:preempt_trace
   Cyclomatic Complexity 4 kernel/trace/trace_irqsoff.c:report_latency
   Cyclomatic Complexity 7 kernel/trace/trace_irqsoff.c:start_critical_timing
   Cyclomatic Complexity 8 kernel/trace/trace_irqsoff.c:stop_critical_timing
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:tracer_preempt_on
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:tracer_preempt_off
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:irqsoff_tracer_start
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:irqsoff_tracer_stop
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:tracer_hardirqs_on
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:tracer_hardirqs_off
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:tracer_hardirqs_on_caller
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:tracer_hardirqs_off_caller
   Cyclomatic Complexity 3 include/trace/events/preemptirq.h:trace_event_define_fields_preemptirq_template
   Cyclomatic Complexity 6 include/trace/events/preemptirq.h:perf_trace_preemptirq_template
   Cyclomatic Complexity 3 include/trace/events/preemptirq.h:trace_event_raw_event_preemptirq_template
   Cyclomatic Complexity 2 include/trace/events/preemptirq.h:trace_raw_output_preemptirq_template
   Cyclomatic Complexity 5 kernel/trace/trace_irqsoff.c:func_prolog_dec
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:__trace_function
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:irqsoff_tracer_call
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:init_irqsoff_tracer
   Cyclomatic Complexity 6 kernel/trace/trace_irqsoff.c:register_irqsoff_function
   Cyclomatic Complexity 3 kernel/trace/trace_irqsoff.c:start_irqsoff_tracer
   Cyclomatic Complexity 4 kernel/trace/trace_irqsoff.c:irqsoff_graph_entry
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:irqsoff_graph_return
   Cyclomatic Complexity 3 kernel/trace/trace_irqsoff.c:unregister_irqsoff_function
   Cyclomatic Complexity 3 kernel/trace/trace_irqsoff.c:irqsoff_function_set
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:stop_irqsoff_tracer
   Cyclomatic Complexity 3 kernel/trace/trace_irqsoff.c:irqsoff_display_graph
   Cyclomatic Complexity 3 kernel/trace/trace_irqsoff.c:irqsoff_flag_changed
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:irqsoff_print_line
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:irqsoff_print_header
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:irqsoff_trace_close
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:irqsoff_trace_open
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:irqsoff_tracer_reset
   Cyclomatic Complexity 5 kernel/trace/trace_irqsoff.c:__irqsoff_tracer_init
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:preemptoff_tracer_init
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:start_critical_timings
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:stop_critical_timings
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:trace_hardirqs_on
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:trace_hardirqs_off
   Cyclomatic Complexity 7 kernel/trace/trace_irqsoff.c:check_critical_timing
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:trace_hardirqs_on_caller
   Cyclomatic Complexity 2 kernel/trace/trace_irqsoff.c:trace_hardirqs_off_caller
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:trace_softirqs_on
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:trace_softirqs_off
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:print_irqtrace_events
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:trace_preempt_on
   Cyclomatic Complexity 1 kernel/trace/trace_irqsoff.c:trace_preempt_off
   cc1: some warnings being treated as errors

vim +855 kernel/trace/trace_irqsoff.c

   850	
   851	#if defined(CONFIG_PREEMPT_TRACER) || \
   852		(defined(CONFIG_DEBUG_PREEMPT) && defined(CONFIG_PREEMPTIRQ_EVENTS))
   853	void trace_preempt_on(unsigned long a0, unsigned long a1)
   854	{
 > 855		trace_preempt_enable_rcuidle(a0, a1);
   856		tracer_preempt_on(a0, a1);
   857	}
   858	
   859	void trace_preempt_off(unsigned long a0, unsigned long a1)
   860	{
 > 861		trace_preempt_disable_rcuidle(a0, a1);

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

Download attachment ".config.gz" of type "application/gzip" (27549 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ