All of lore.kernel.org
 help / color / mirror / Atom feed
* [trace:ftrace/core 33/37] arch/x86/kernel/trace.c:10:6: warning: no previous prototype for 'trace_intel_irq_entry'
@ 2021-06-25 21:00 kernel test robot
  2021-06-26  0:13 ` Steven Rostedt
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-06-25 21:00 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 13014 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/core
head:   e170f007c7ebc73fef7c2f696d428b5e8d08727e
commit: acf908a11e6e70db7e28adf392ff02c41ecf4c78 [33/37] trace: Add osnoise tracer
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git/commit/?id=acf908a11e6e70db7e28adf392ff02c41ecf4c78
        git remote add trace https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
        git fetch --no-tags trace ftrace/core
        git checkout acf908a11e6e70db7e28adf392ff02c41ecf4c78
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/trace.c:10:6: warning: no previous prototype for 'trace_intel_irq_entry' [-Wmissing-prototypes]
      10 | void trace_intel_irq_entry(void *data, int vector)
         |      ^~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/trace.c:18:6: warning: no previous prototype for 'trace_intel_irq_exit' [-Wmissing-prototypes]
      18 | void trace_intel_irq_exit(void *data, int vector)
         |      ^~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/trace.c:28:5: warning: no previous prototype for 'osnoise_arch_register' [-Wmissing-prototypes]
      28 | int osnoise_arch_register(void)
         |     ^~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/trace.c:195:6: warning: no previous prototype for 'osnoise_arch_unregister' [-Wmissing-prototypes]
     195 | void osnoise_arch_unregister(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~
--
>> kernel/trace/trace_osnoise.c:438:6: warning: no previous prototype for 'osnoise_trace_irq_entry' [-Wmissing-prototypes]
     438 | void osnoise_trace_irq_entry(int id)
         |      ^~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:461:6: warning: no previous prototype for 'osnoise_trace_irq_exit' [-Wmissing-prototypes]
     461 | void osnoise_trace_irq_exit(int id, const char *desc)
         |      ^~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:481:6: warning: no previous prototype for 'trace_irqentry_callback' [-Wmissing-prototypes]
     481 | void trace_irqentry_callback(void *data, int irq, struct irqaction *action)
         |      ^~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:491:6: warning: no previous prototype for 'trace_irqexit_callback' [-Wmissing-prototypes]
     491 | void trace_irqexit_callback(void *data, int irq, struct irqaction *action, int ret)
         |      ^~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:499:12: warning: no previous prototype for 'osnoise_arch_register' [-Wmissing-prototypes]
     499 | int __weak osnoise_arch_register(void)
         |            ^~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:507:13: warning: no previous prototype for 'osnoise_arch_unregister' [-Wmissing-prototypes]
     507 | void __weak osnoise_arch_unregister(void)
         |             ^~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:518:5: warning: no previous prototype for 'hook_irq_events' [-Wmissing-prototypes]
     518 | int hook_irq_events(void)
         |     ^~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:550:6: warning: no previous prototype for 'unhook_irq_events' [-Wmissing-prototypes]
     550 | void unhook_irq_events(void)
         |      ^~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:567:6: warning: no previous prototype for 'trace_softirq_entry_callback' [-Wmissing-prototypes]
     567 | void trace_softirq_entry_callback(void *data, unsigned int vec_nr)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:590:6: warning: no previous prototype for 'trace_softirq_exit_callback' [-Wmissing-prototypes]
     590 | void trace_softirq_exit_callback(void *data, unsigned int vec_nr)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:704:1: warning: no previous prototype for 'trace_sched_switch_callback' [-Wmissing-prototypes]
     704 | trace_sched_switch_callback(void *data, bool preempt, struct task_struct *p,
         | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:722:5: warning: no previous prototype for 'hook_thread_events' [-Wmissing-prototypes]
     722 | int hook_thread_events(void)
         |     ^~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:739:6: warning: no previous prototype for 'unhook_thread_events' [-Wmissing-prototypes]
     739 | void unhook_thread_events(void)
         |      ^~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:751:6: warning: no previous prototype for 'save_osn_sample_stats' [-Wmissing-prototypes]
     751 | void save_osn_sample_stats(struct osnoise_variables *osn_var, struct osnoise_sample *s)
         |      ^~~~~~~~~~~~~~~~~~~~~
>> kernel/trace/trace_osnoise.c:766:6: warning: no previous prototype for 'diff_osn_sample_stats' [-Wmissing-prototypes]
     766 | void diff_osn_sample_stats(struct osnoise_variables *osn_var, struct osnoise_sample *s)
         |      ^~~~~~~~~~~~~~~~~~~~~


vim +/trace_intel_irq_entry +10 arch/x86/kernel/trace.c

     6	
     7	/*
     8	 * trace_intel_irq_entry - record intel specific IRQ entry
     9	 */
  > 10	void trace_intel_irq_entry(void *data, int vector)
    11	{
    12		osnoise_trace_irq_entry(vector);
    13	}
    14	
    15	/*
    16	 * trace_intel_irq_exit - record intel specific IRQ exit
    17	 */
  > 18	void trace_intel_irq_exit(void *data, int vector)
    19	{
    20		char *vector_desc = (char *) data;
    21	
    22		osnoise_trace_irq_exit(vector, vector_desc);
    23	}
    24	
    25	/*
    26	 * register_intel_irq_tp - Register intel specific IRQ entry tracepoints
    27	 */
  > 28	int osnoise_arch_register(void)
    29	{
    30		int ret;
    31	
    32		ret = register_trace_local_timer_entry(trace_intel_irq_entry, NULL);
    33		if (ret)
    34			goto out_err;
    35	
    36		ret = register_trace_local_timer_exit(trace_intel_irq_exit, "local_timer");
    37		if (ret)
    38			goto out_timer_entry;
    39	
    40	#ifdef CONFIG_X86_THERMAL_VECTOR
    41		ret = register_trace_thermal_apic_entry(trace_intel_irq_entry, NULL);
    42		if (ret)
    43			goto out_timer_exit;
    44	
    45		ret = register_trace_thermal_apic_exit(trace_intel_irq_exit, "thermal_apic");
    46		if (ret)
    47			goto out_thermal_entry;
    48	#endif /* CONFIG_X86_THERMAL_VECTOR */
    49	
    50	#ifdef CONFIG_X86_MCE_AMD
    51		ret = register_trace_deferred_error_apic_entry(trace_intel_irq_entry, NULL);
    52		if (ret)
    53			goto out_thermal_exit;
    54	
    55		ret = register_trace_deferred_error_apic_exit(trace_intel_irq_exit, "deferred_error");
    56		if (ret)
    57			goto out_deferred_entry;
    58	#endif
    59	
    60	#ifdef CONFIG_X86_MCE_THRESHOLD
    61		ret = register_trace_threshold_apic_entry(trace_intel_irq_entry, NULL);
    62		if (ret)
    63			goto out_deferred_exit;
    64	
    65		ret = register_trace_threshold_apic_exit(trace_intel_irq_exit, "threshold_apic");
    66		if (ret)
    67			goto out_threshold_entry;
    68	#endif /* CONFIG_X86_MCE_THRESHOLD */
    69	
    70	#ifdef CONFIG_SMP
    71		ret = register_trace_call_function_single_entry(trace_intel_irq_entry, NULL);
    72		if (ret)
    73			goto out_threshold_exit;
    74	
    75		ret = register_trace_call_function_single_exit(trace_intel_irq_exit,
    76							       "call_function_single");
    77		if (ret)
    78			goto out_call_function_single_entry;
    79	
    80		ret = register_trace_call_function_entry(trace_intel_irq_entry, NULL);
    81		if (ret)
    82			goto out_call_function_single_exit;
    83	
    84		ret = register_trace_call_function_exit(trace_intel_irq_exit, "call_function");
    85		if (ret)
    86			goto out_call_function_entry;
    87	
    88		ret = register_trace_reschedule_entry(trace_intel_irq_entry, NULL);
    89		if (ret)
    90			goto out_call_function_exit;
    91	
    92		ret = register_trace_reschedule_exit(trace_intel_irq_exit, "reschedule");
    93		if (ret)
    94			goto out_reschedule_entry;
    95	#endif /* CONFIG_SMP */
    96	
    97	#ifdef CONFIG_IRQ_WORK
    98		ret = register_trace_irq_work_entry(trace_intel_irq_entry, NULL);
    99		if (ret)
   100			goto out_reschedule_exit;
   101	
   102		ret = register_trace_irq_work_exit(trace_intel_irq_exit, "irq_work");
   103		if (ret)
   104			goto out_irq_work_entry;
   105	#endif
   106	
   107		ret = register_trace_x86_platform_ipi_entry(trace_intel_irq_entry, NULL);
   108		if (ret)
   109			goto out_irq_work_exit;
   110	
   111		ret = register_trace_x86_platform_ipi_exit(trace_intel_irq_exit, "x86_platform_ipi");
   112		if (ret)
   113			goto out_x86_ipi_entry;
   114	
   115		ret = register_trace_error_apic_entry(trace_intel_irq_entry, NULL);
   116		if (ret)
   117			goto out_x86_ipi_exit;
   118	
   119		ret = register_trace_error_apic_exit(trace_intel_irq_exit, "error_apic");
   120		if (ret)
   121			goto out_error_apic_entry;
   122	
   123		ret = register_trace_spurious_apic_entry(trace_intel_irq_entry, NULL);
   124		if (ret)
   125			goto out_error_apic_exit;
   126	
   127		ret = register_trace_spurious_apic_exit(trace_intel_irq_exit, "spurious_apic");
   128		if (ret)
   129			goto out_spurious_apic_entry;
   130	
   131		return 0;
   132	
   133	out_spurious_apic_entry:
   134		unregister_trace_spurious_apic_entry(trace_intel_irq_entry, NULL);
   135	out_error_apic_exit:
   136		unregister_trace_error_apic_exit(trace_intel_irq_exit, "error_apic");
   137	out_error_apic_entry:
   138		unregister_trace_error_apic_entry(trace_intel_irq_entry, NULL);
   139	out_x86_ipi_exit:
   140		unregister_trace_x86_platform_ipi_exit(trace_intel_irq_exit, "x86_platform_ipi");
   141	out_x86_ipi_entry:
   142		unregister_trace_x86_platform_ipi_entry(trace_intel_irq_entry, NULL);
   143	out_irq_work_exit:
   144	
   145	#ifdef CONFIG_IRQ_WORK
   146		unregister_trace_irq_work_exit(trace_intel_irq_exit, "irq_work");
   147	out_irq_work_entry:
   148		unregister_trace_irq_work_entry(trace_intel_irq_entry, NULL);
   149	out_reschedule_exit:
   150	#endif
   151	
   152	#ifdef CONFIG_SMP
   153		unregister_trace_reschedule_exit(trace_intel_irq_exit, "reschedule");
   154	out_reschedule_entry:
   155		unregister_trace_reschedule_entry(trace_intel_irq_entry, NULL);
   156	out_call_function_exit:
   157		unregister_trace_call_function_exit(trace_intel_irq_exit, "call_function");
   158	out_call_function_entry:
   159		unregister_trace_call_function_entry(trace_intel_irq_entry, NULL);
   160	out_call_function_single_exit:
   161		unregister_trace_call_function_single_exit(trace_intel_irq_exit, "call_function_single");
   162	out_call_function_single_entry:
   163		unregister_trace_call_function_single_entry(trace_intel_irq_entry, NULL);
   164	out_threshold_exit:
   165	#endif
   166	
   167	#ifdef CONFIG_X86_MCE_THRESHOLD
   168		unregister_trace_threshold_apic_exit(trace_intel_irq_exit, "threshold_apic");
   169	out_threshold_entry:
   170		unregister_trace_threshold_apic_entry(trace_intel_irq_entry, NULL);
   171	out_deferred_exit:
   172	#endif
   173	
   174	#ifdef CONFIG_X86_MCE_AMD
   175		unregister_trace_deferred_error_apic_exit(trace_intel_irq_exit, "deferred_error");
   176	out_deferred_entry:
   177		unregister_trace_deferred_error_apic_entry(trace_intel_irq_entry, NULL);
   178	out_thermal_exit:
   179	#endif /* CONFIG_X86_MCE_AMD */
   180	
   181	#ifdef CONFIG_X86_THERMAL_VECTOR
   182		unregister_trace_thermal_apic_exit(trace_intel_irq_exit, "thermal_apic");
   183	out_thermal_entry:
   184		unregister_trace_thermal_apic_entry(trace_intel_irq_entry, NULL);
   185	out_timer_exit:
   186	#endif /* CONFIG_X86_THERMAL_VECTOR */
   187	
   188		unregister_trace_local_timer_exit(trace_intel_irq_exit, "local_timer");
   189	out_timer_entry:
   190		unregister_trace_local_timer_entry(trace_intel_irq_entry, NULL);
   191	out_err:
   192		return -EINVAL;
   193	}
   194	
 > 195	void osnoise_arch_unregister(void)
   196	{
   197		unregister_trace_spurious_apic_exit(trace_intel_irq_exit, "spurious_apic");
   198		unregister_trace_spurious_apic_entry(trace_intel_irq_entry, NULL);
   199		unregister_trace_error_apic_exit(trace_intel_irq_exit, "error_apic");
   200		unregister_trace_error_apic_entry(trace_intel_irq_entry, NULL);
   201		unregister_trace_x86_platform_ipi_exit(trace_intel_irq_exit, "x86_platform_ipi");
   202		unregister_trace_x86_platform_ipi_entry(trace_intel_irq_entry, NULL);
   203	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 65257 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [trace:ftrace/core 33/37] arch/x86/kernel/trace.c:10:6: warning: no previous prototype for 'trace_intel_irq_entry'
  2021-06-25 21:00 [trace:ftrace/core 33/37] arch/x86/kernel/trace.c:10:6: warning: no previous prototype for 'trace_intel_irq_entry' kernel test robot
@ 2021-06-26  0:13 ` Steven Rostedt
  2021-06-26 12:08   ` Daniel Bristot de Oliveira
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Rostedt @ 2021-06-26  0:13 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 13930 bytes --]


Daniel,

FYI, I pushed up a rebase that fixes all the issues that 0day bot
reported.

Feel free to take a look at what I've done. It's at the same tree and
branch that is listed below for what failed.

-- Steve


On Sat, 26 Jun 2021 05:00:55 +0800
kernel test robot <lkp@intel.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git ftrace/core
> head:   e170f007c7ebc73fef7c2f696d428b5e8d08727e
> commit: acf908a11e6e70db7e28adf392ff02c41ecf4c78 [33/37] trace: Add osnoise tracer
> config: i386-allyesconfig (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git/commit/?id=acf908a11e6e70db7e28adf392ff02c41ecf4c78
>         git remote add trace https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git
>         git fetch --no-tags trace ftrace/core
>         git checkout acf908a11e6e70db7e28adf392ff02c41ecf4c78
>         # save the attached .config to linux build tree
>         make W=1 ARCH=i386 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All warnings (new ones prefixed by >>):
> 
> >> arch/x86/kernel/trace.c:10:6: warning: no previous prototype for 'trace_intel_irq_entry' [-Wmissing-prototypes]  
>       10 | void trace_intel_irq_entry(void *data, int vector)
>          |      ^~~~~~~~~~~~~~~~~~~~~
> >> arch/x86/kernel/trace.c:18:6: warning: no previous prototype for 'trace_intel_irq_exit' [-Wmissing-prototypes]  
>       18 | void trace_intel_irq_exit(void *data, int vector)
>          |      ^~~~~~~~~~~~~~~~~~~~
> >> arch/x86/kernel/trace.c:28:5: warning: no previous prototype for 'osnoise_arch_register' [-Wmissing-prototypes]  
>       28 | int osnoise_arch_register(void)
>          |     ^~~~~~~~~~~~~~~~~~~~~
> >> arch/x86/kernel/trace.c:195:6: warning: no previous prototype for 'osnoise_arch_unregister' [-Wmissing-prototypes]  
>      195 | void osnoise_arch_unregister(void)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~
> --
> >> kernel/trace/trace_osnoise.c:438:6: warning: no previous prototype for 'osnoise_trace_irq_entry' [-Wmissing-prototypes]  
>      438 | void osnoise_trace_irq_entry(int id)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:461:6: warning: no previous prototype for 'osnoise_trace_irq_exit' [-Wmissing-prototypes]  
>      461 | void osnoise_trace_irq_exit(int id, const char *desc)
>          |      ^~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:481:6: warning: no previous prototype for 'trace_irqentry_callback' [-Wmissing-prototypes]  
>      481 | void trace_irqentry_callback(void *data, int irq, struct irqaction *action)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:491:6: warning: no previous prototype for 'trace_irqexit_callback' [-Wmissing-prototypes]  
>      491 | void trace_irqexit_callback(void *data, int irq, struct irqaction *action, int ret)
>          |      ^~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:499:12: warning: no previous prototype for 'osnoise_arch_register' [-Wmissing-prototypes]  
>      499 | int __weak osnoise_arch_register(void)
>          |            ^~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:507:13: warning: no previous prototype for 'osnoise_arch_unregister' [-Wmissing-prototypes]  
>      507 | void __weak osnoise_arch_unregister(void)
>          |             ^~~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:518:5: warning: no previous prototype for 'hook_irq_events' [-Wmissing-prototypes]  
>      518 | int hook_irq_events(void)
>          |     ^~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:550:6: warning: no previous prototype for 'unhook_irq_events' [-Wmissing-prototypes]  
>      550 | void unhook_irq_events(void)
>          |      ^~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:567:6: warning: no previous prototype for 'trace_softirq_entry_callback' [-Wmissing-prototypes]  
>      567 | void trace_softirq_entry_callback(void *data, unsigned int vec_nr)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:590:6: warning: no previous prototype for 'trace_softirq_exit_callback' [-Wmissing-prototypes]  
>      590 | void trace_softirq_exit_callback(void *data, unsigned int vec_nr)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:704:1: warning: no previous prototype for 'trace_sched_switch_callback' [-Wmissing-prototypes]  
>      704 | trace_sched_switch_callback(void *data, bool preempt, struct task_struct *p,
>          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:722:5: warning: no previous prototype for 'hook_thread_events' [-Wmissing-prototypes]  
>      722 | int hook_thread_events(void)
>          |     ^~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:739:6: warning: no previous prototype for 'unhook_thread_events' [-Wmissing-prototypes]  
>      739 | void unhook_thread_events(void)
>          |      ^~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:751:6: warning: no previous prototype for 'save_osn_sample_stats' [-Wmissing-prototypes]  
>      751 | void save_osn_sample_stats(struct osnoise_variables *osn_var, struct osnoise_sample *s)
>          |      ^~~~~~~~~~~~~~~~~~~~~
> >> kernel/trace/trace_osnoise.c:766:6: warning: no previous prototype for 'diff_osn_sample_stats' [-Wmissing-prototypes]  
>      766 | void diff_osn_sample_stats(struct osnoise_variables *osn_var, struct osnoise_sample *s)
>          |      ^~~~~~~~~~~~~~~~~~~~~
> 
> 
> vim +/trace_intel_irq_entry +10 arch/x86/kernel/trace.c
> 
>      6	
>      7	/*
>      8	 * trace_intel_irq_entry - record intel specific IRQ entry
>      9	 */
>   > 10	void trace_intel_irq_entry(void *data, int vector)  
>     11	{
>     12		osnoise_trace_irq_entry(vector);
>     13	}
>     14	
>     15	/*
>     16	 * trace_intel_irq_exit - record intel specific IRQ exit
>     17	 */
>   > 18	void trace_intel_irq_exit(void *data, int vector)  
>     19	{
>     20		char *vector_desc = (char *) data;
>     21	
>     22		osnoise_trace_irq_exit(vector, vector_desc);
>     23	}
>     24	
>     25	/*
>     26	 * register_intel_irq_tp - Register intel specific IRQ entry tracepoints
>     27	 */
>   > 28	int osnoise_arch_register(void)  
>     29	{
>     30		int ret;
>     31	
>     32		ret = register_trace_local_timer_entry(trace_intel_irq_entry, NULL);
>     33		if (ret)
>     34			goto out_err;
>     35	
>     36		ret = register_trace_local_timer_exit(trace_intel_irq_exit, "local_timer");
>     37		if (ret)
>     38			goto out_timer_entry;
>     39	
>     40	#ifdef CONFIG_X86_THERMAL_VECTOR
>     41		ret = register_trace_thermal_apic_entry(trace_intel_irq_entry, NULL);
>     42		if (ret)
>     43			goto out_timer_exit;
>     44	
>     45		ret = register_trace_thermal_apic_exit(trace_intel_irq_exit, "thermal_apic");
>     46		if (ret)
>     47			goto out_thermal_entry;
>     48	#endif /* CONFIG_X86_THERMAL_VECTOR */
>     49	
>     50	#ifdef CONFIG_X86_MCE_AMD
>     51		ret = register_trace_deferred_error_apic_entry(trace_intel_irq_entry, NULL);
>     52		if (ret)
>     53			goto out_thermal_exit;
>     54	
>     55		ret = register_trace_deferred_error_apic_exit(trace_intel_irq_exit, "deferred_error");
>     56		if (ret)
>     57			goto out_deferred_entry;
>     58	#endif
>     59	
>     60	#ifdef CONFIG_X86_MCE_THRESHOLD
>     61		ret = register_trace_threshold_apic_entry(trace_intel_irq_entry, NULL);
>     62		if (ret)
>     63			goto out_deferred_exit;
>     64	
>     65		ret = register_trace_threshold_apic_exit(trace_intel_irq_exit, "threshold_apic");
>     66		if (ret)
>     67			goto out_threshold_entry;
>     68	#endif /* CONFIG_X86_MCE_THRESHOLD */
>     69	
>     70	#ifdef CONFIG_SMP
>     71		ret = register_trace_call_function_single_entry(trace_intel_irq_entry, NULL);
>     72		if (ret)
>     73			goto out_threshold_exit;
>     74	
>     75		ret = register_trace_call_function_single_exit(trace_intel_irq_exit,
>     76							       "call_function_single");
>     77		if (ret)
>     78			goto out_call_function_single_entry;
>     79	
>     80		ret = register_trace_call_function_entry(trace_intel_irq_entry, NULL);
>     81		if (ret)
>     82			goto out_call_function_single_exit;
>     83	
>     84		ret = register_trace_call_function_exit(trace_intel_irq_exit, "call_function");
>     85		if (ret)
>     86			goto out_call_function_entry;
>     87	
>     88		ret = register_trace_reschedule_entry(trace_intel_irq_entry, NULL);
>     89		if (ret)
>     90			goto out_call_function_exit;
>     91	
>     92		ret = register_trace_reschedule_exit(trace_intel_irq_exit, "reschedule");
>     93		if (ret)
>     94			goto out_reschedule_entry;
>     95	#endif /* CONFIG_SMP */
>     96	
>     97	#ifdef CONFIG_IRQ_WORK
>     98		ret = register_trace_irq_work_entry(trace_intel_irq_entry, NULL);
>     99		if (ret)
>    100			goto out_reschedule_exit;
>    101	
>    102		ret = register_trace_irq_work_exit(trace_intel_irq_exit, "irq_work");
>    103		if (ret)
>    104			goto out_irq_work_entry;
>    105	#endif
>    106	
>    107		ret = register_trace_x86_platform_ipi_entry(trace_intel_irq_entry, NULL);
>    108		if (ret)
>    109			goto out_irq_work_exit;
>    110	
>    111		ret = register_trace_x86_platform_ipi_exit(trace_intel_irq_exit, "x86_platform_ipi");
>    112		if (ret)
>    113			goto out_x86_ipi_entry;
>    114	
>    115		ret = register_trace_error_apic_entry(trace_intel_irq_entry, NULL);
>    116		if (ret)
>    117			goto out_x86_ipi_exit;
>    118	
>    119		ret = register_trace_error_apic_exit(trace_intel_irq_exit, "error_apic");
>    120		if (ret)
>    121			goto out_error_apic_entry;
>    122	
>    123		ret = register_trace_spurious_apic_entry(trace_intel_irq_entry, NULL);
>    124		if (ret)
>    125			goto out_error_apic_exit;
>    126	
>    127		ret = register_trace_spurious_apic_exit(trace_intel_irq_exit, "spurious_apic");
>    128		if (ret)
>    129			goto out_spurious_apic_entry;
>    130	
>    131		return 0;
>    132	
>    133	out_spurious_apic_entry:
>    134		unregister_trace_spurious_apic_entry(trace_intel_irq_entry, NULL);
>    135	out_error_apic_exit:
>    136		unregister_trace_error_apic_exit(trace_intel_irq_exit, "error_apic");
>    137	out_error_apic_entry:
>    138		unregister_trace_error_apic_entry(trace_intel_irq_entry, NULL);
>    139	out_x86_ipi_exit:
>    140		unregister_trace_x86_platform_ipi_exit(trace_intel_irq_exit, "x86_platform_ipi");
>    141	out_x86_ipi_entry:
>    142		unregister_trace_x86_platform_ipi_entry(trace_intel_irq_entry, NULL);
>    143	out_irq_work_exit:
>    144	
>    145	#ifdef CONFIG_IRQ_WORK
>    146		unregister_trace_irq_work_exit(trace_intel_irq_exit, "irq_work");
>    147	out_irq_work_entry:
>    148		unregister_trace_irq_work_entry(trace_intel_irq_entry, NULL);
>    149	out_reschedule_exit:
>    150	#endif
>    151	
>    152	#ifdef CONFIG_SMP
>    153		unregister_trace_reschedule_exit(trace_intel_irq_exit, "reschedule");
>    154	out_reschedule_entry:
>    155		unregister_trace_reschedule_entry(trace_intel_irq_entry, NULL);
>    156	out_call_function_exit:
>    157		unregister_trace_call_function_exit(trace_intel_irq_exit, "call_function");
>    158	out_call_function_entry:
>    159		unregister_trace_call_function_entry(trace_intel_irq_entry, NULL);
>    160	out_call_function_single_exit:
>    161		unregister_trace_call_function_single_exit(trace_intel_irq_exit, "call_function_single");
>    162	out_call_function_single_entry:
>    163		unregister_trace_call_function_single_entry(trace_intel_irq_entry, NULL);
>    164	out_threshold_exit:
>    165	#endif
>    166	
>    167	#ifdef CONFIG_X86_MCE_THRESHOLD
>    168		unregister_trace_threshold_apic_exit(trace_intel_irq_exit, "threshold_apic");
>    169	out_threshold_entry:
>    170		unregister_trace_threshold_apic_entry(trace_intel_irq_entry, NULL);
>    171	out_deferred_exit:
>    172	#endif
>    173	
>    174	#ifdef CONFIG_X86_MCE_AMD
>    175		unregister_trace_deferred_error_apic_exit(trace_intel_irq_exit, "deferred_error");
>    176	out_deferred_entry:
>    177		unregister_trace_deferred_error_apic_entry(trace_intel_irq_entry, NULL);
>    178	out_thermal_exit:
>    179	#endif /* CONFIG_X86_MCE_AMD */
>    180	
>    181	#ifdef CONFIG_X86_THERMAL_VECTOR
>    182		unregister_trace_thermal_apic_exit(trace_intel_irq_exit, "thermal_apic");
>    183	out_thermal_entry:
>    184		unregister_trace_thermal_apic_entry(trace_intel_irq_entry, NULL);
>    185	out_timer_exit:
>    186	#endif /* CONFIG_X86_THERMAL_VECTOR */
>    187	
>    188		unregister_trace_local_timer_exit(trace_intel_irq_exit, "local_timer");
>    189	out_timer_entry:
>    190		unregister_trace_local_timer_entry(trace_intel_irq_entry, NULL);
>    191	out_err:
>    192		return -EINVAL;
>    193	}
>    194	
>  > 195	void osnoise_arch_unregister(void)  
>    196	{
>    197		unregister_trace_spurious_apic_exit(trace_intel_irq_exit, "spurious_apic");
>    198		unregister_trace_spurious_apic_entry(trace_intel_irq_entry, NULL);
>    199		unregister_trace_error_apic_exit(trace_intel_irq_exit, "error_apic");
>    200		unregister_trace_error_apic_entry(trace_intel_irq_entry, NULL);
>    201		unregister_trace_x86_platform_ipi_exit(trace_intel_irq_exit, "x86_platform_ipi");
>    202		unregister_trace_x86_platform_ipi_entry(trace_intel_irq_entry, NULL);
>    203	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [trace:ftrace/core 33/37] arch/x86/kernel/trace.c:10:6: warning: no previous prototype for 'trace_intel_irq_entry'
  2021-06-26  0:13 ` Steven Rostedt
@ 2021-06-26 12:08   ` Daniel Bristot de Oliveira
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Bristot de Oliveira @ 2021-06-26 12:08 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

On 6/26/21 2:13 AM, Steven Rostedt wrote:
> Daniel,
> 
> FYI, I pushed up a rebase that fixes all the issues that 0day bot
> reported.

Thanks!

> Feel free to take a look at what I've done. It's at the same tree and
> branch that is listed below for what failed.

Checked the changes, and they are all good!

-- Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-26 12:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 21:00 [trace:ftrace/core 33/37] arch/x86/kernel/trace.c:10:6: warning: no previous prototype for 'trace_intel_irq_entry' kernel test robot
2021-06-26  0:13 ` Steven Rostedt
2021-06-26 12:08   ` Daniel Bristot de Oliveira

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.