tracing: Fix SPDX format headers to use C++ style comments

The Linux kernel adopted the SPDX License format headers to ease license
compliance management, and uses the C++ '//' style comments for the SPDX
header tags. Some files in the tracing directory used the C style /* */
comments for them. To be consistent across all files, replace the /* */
C style SPDX tags with the C++ // SPDX tags.
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent bcea3f96
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
#ifndef _LINUX_KERNEL_TRACE_H #ifndef _LINUX_KERNEL_TRACE_H
#define _LINUX_KERNEL_TRACE_H #define _LINUX_KERNEL_TRACE_H
......
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM benchmark #define TRACE_SYSTEM benchmark
......
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
/* /*
* This file defines the trace event structures that go into the ring * This file defines the trace event structures that go into the ring
* buffer directly. They are created via macros so that changes for them * buffer directly. They are created via macros so that changes for them
......
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
#undef TRACE_SYSTEM #undef TRACE_SYSTEM
#define TRACE_SYSTEM test #define TRACE_SYSTEM test
......
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
/* /*
* Function used during the kprobe self test. This function is in a separate * Function used during the kprobe self test. This function is in a separate
* compile unit so it can be compile with CC_FLAGS_FTRACE to ensure that it * compile unit so it can be compile with CC_FLAGS_FTRACE to ensure that it
......
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
#ifndef __TRACE_EVENTS_H #ifndef __TRACE_EVENTS_H
#define __TRACE_EVENTS_H #define __TRACE_EVENTS_H
......
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
#ifndef __TRACE_STAT_H #ifndef __TRACE_STAT_H
#define __TRACE_STAT_H #define __TRACE_STAT_H
......
/* SPDX-License-Identifier: GPL-2.0 */ // SPDX-License-Identifier: GPL-2.0
#ifndef __TRACING_MAP_H #ifndef __TRACING_MAP_H
#define __TRACING_MAP_H #define __TRACING_MAP_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment