Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73d8b8bc authored by Wenji Huang's avatar Wenji Huang Committed by Steven Rostedt
Browse files

tracing: fix typing mistake in hint message and comments



Impact: cleanup

Fix incorrect hint message in code and typos in comments.

Signed-off-by: default avatarWenji Huang <wenji.huang@oracle.com>
Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent d2ef7c2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/*
 * trace irqs off criticall timings
 * trace irqs off critical timings
 *
 * Copyright (C) 2007-2008 Steven Rostedt <srostedt@redhat.com>
 * Copyright (C) 2008 Ingo Molnar <mingo@redhat.com>
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ static int tracing_sched_register(void)
	ret = register_trace_sched_switch(probe_sched_switch);
	if (ret) {
		pr_info("sched trace: Couldn't activate tracepoint"
			" probe to kernel_sched_schedule\n");
			" probe to kernel_sched_switch\n");
		goto fail_deprobe_wake_new;
	}

+1 −1
Original line number Diff line number Diff line
@@ -284,7 +284,7 @@ static void start_wakeup_tracer(struct trace_array *tr)
	ret = register_trace_sched_switch(probe_wakeup_sched_switch);
	if (ret) {
		pr_info("sched trace: Couldn't activate tracepoint"
			" probe to kernel_sched_schedule\n");
			" probe to kernel_sched_switch\n");
		goto fail_deprobe_wake_new;
	}

+2 −2
Original line number Diff line number Diff line
@@ -107,9 +107,9 @@ int trace_selftest_startup_dynamic_tracing(struct tracer *trace,
	func();

	/*
	 * Some archs *cough*PowerPC*cough* add charachters to the
	 * Some archs *cough*PowerPC*cough* add characters to the
	 * start of the function names. We simply put a '*' to
	 * accomodate them.
	 * accommodate them.
	 */
	func_name = "*" STR(DYN_FTRACE_TEST_NAME);

+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ struct tracer_stat_session {
	struct dentry		*file;
};

/* All of the sessions currently in use. Each stat file embeed one session */
/* All of the sessions currently in use. Each stat file embed one session */
static LIST_HEAD(all_stat_sessions);
static DEFINE_MUTEX(all_stat_sessions_mutex);

Loading