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

Commit d7ebe75b authored by Vince Weaver's avatar Vince Weaver Committed by Ingo Molnar
Browse files

perf: Fix comments in include/linux/perf_event.h



Fix include/linux/perf_event.h comments to be consistent with
the actual #define names. This is trivial, but it can be a bit
confusing when first  reading through the file.

Signed-off-by: default avatarVince Weaver <vweaver1@eecs.utk.edu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: paulus@samba.org
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/alpine.DEB.2.00.1106031757090.29381@cl320.eecs.utk.edu


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent aa4a2218
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -137,14 +137,14 @@ enum perf_event_sample_format {
 *
 *
 * struct read_format {
 * struct read_format {
 *	{ u64		value;
 *	{ u64		value;
 *	  { u64		time_enabled; } && PERF_FORMAT_ENABLED
 *	  { u64		time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED
 *	  { u64		time_running; } && PERF_FORMAT_RUNNING
 *	  { u64		time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING
 *	  { u64		id;           } && PERF_FORMAT_ID
 *	  { u64		id;           } && PERF_FORMAT_ID
 *	} && !PERF_FORMAT_GROUP
 *	} && !PERF_FORMAT_GROUP
 *
 *
 *	{ u64		nr;
 *	{ u64		nr;
 *	  { u64		time_enabled; } && PERF_FORMAT_ENABLED
 *	  { u64		time_enabled; } && PERF_FORMAT_TOTAL_TIME_ENABLED
 *	  { u64		time_running; } && PERF_FORMAT_RUNNING
 *	  { u64		time_running; } && PERF_FORMAT_TOTAL_TIME_RUNNING
 *	  { u64		value;
 *	  { u64		value;
 *	    { u64	id;           } && PERF_FORMAT_ID
 *	    { u64	id;           } && PERF_FORMAT_ID
 *	  }		cntr[nr];
 *	  }		cntr[nr];