Skip to contentSkip to conversation

tracing: remove trailing spaces and tabs

PATCH New Zhen Lei 1 participant 1 message Jun 8, 2021

Subsystems (3)
lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 tracing: remove trailing spaces and tabs

Run the following command to find and remove the trailing spaces and tabs:

find kernel/trace/ -type f | xargs sed -r -i 's/[ \t]+$//'

---
 kernel/trace/ftrace.c      | 2 +-
 kernel/trace/ring_buffer.c | 2 +-
 kernel/trace/trace.c       | 2 +-
 kernel/trace/trace_seq.c   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
kernel/trace/ftrace.c +1 -1
index 2e8a3fde7104..1b013e29fa44 100644
@@ -4414,7 +4414,7 @@ int ftrace_func_mapper_add_ip(struct ftrace_func_mapper *mapper,
  * @ip: The instruction pointer address to remove the data from
  *
  * Returns the data if it is found, otherwise NULL.
- * Note, if the data pointer is used as the data itself, (see 
+ * Note, if the data pointer is used as the data itself, (see
  * ftrace_func_mapper_find_ip(), then the return value may be meaningless,
  * if the data pointer was set to zero.
  */
kernel/trace/ring_buffer.c +1 -1
index 3cb9733719e5..833ade3d0b00 100644
@@ -3365,7 +3365,7 @@ static void check_buffer(struct ring_buffer_per_cpu *cpu_buffer,
 		return;
 
 	/*
-	 * If this interrupted another event, 
+	 * If this interrupted another event,
 	 */
 	if (atomic_inc_return(this_cpu_ptr(&checking)) != 1)
 		goto out;
kernel/trace/trace.c +1 -1
index d683a56a3e26..1446a3f80a06 100644
@@ -6205,7 +6205,7 @@ static void tracing_set_nop(struct trace_array *tr)
 {
 	if (tr->current_trace == &nop_trace)
 		return;
-	
+
 	tr->current_trace->enabled--;
 
 	if (tr->current_trace->reset)
kernel/trace/trace_seq.c +1 -1
index ec63d0ae6a22..2eba0d1e9fd8 100644
@@ -12,7 +12,7 @@
  * This will set up the counters within the descriptor. You can call
  * trace_seq_init() more than once to reset the trace_seq to start
  * from scratch.
- * 
+ *
  * The buffer size is currently PAGE_SIZE, although it may become dynamic
  * in the future.
  *
Signature · 1 line
2.25.1