tracing/osnoise: Make osnoise_options static

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2174944

commit ec370890f92ba8ad5476a34068655b06ba48def7
Author: Daniel Bristot de Oliveira <bristot@kernel.org>
Date:   Mon Dec 5 09:27:38 2022 +0100

	tracing/osnoise: Make osnoise_options static

	Make osnoise_options static, as reported by the kernel test robot.

	Link: https://lkml.kernel.org/r/63255826485400d7a2270e9c5e66111079671e7a.1670228712.git.bristot@kernel.org

	Reported-by: kernel test robot <lkp@intel.com>
	Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
	Cc: Steven Rostedt <rostedt@goodmis.org>
	Cc: Masami Hiramatsu <mhiramat@kernel.org>
	Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
	Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

Signed-off-by: John Kacur <jkacur@redhat.com>
This commit is contained in:
John Kacur 2023-05-23 16:28:57 -04:00
parent ccd1a35b8e
commit fa4e2dd646
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ enum osnoise_options_index {
static const char * const osnoise_options_str[OSN_MAX] = { "DEFAULTS", "OSNOISE_WORKLOAD" };
#define OSN_DEFAULT_OPTIONS 0x2
unsigned long osnoise_options = OSN_DEFAULT_OPTIONS;
#define OSN_DEFAULT_OPTIONS 0x2
static unsigned long osnoise_options = OSN_DEFAULT_OPTIONS;
/*
* trace_array of the enabled osnoise/timerlat instances.