Skip to contentSkip to conversation

perf trace: Add header with copyright and background info

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Aug 31, 2015 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  a598bb5e3558509cbb8aa1d422071ef61fda9d77
Gitweb:     http://git.kernel.org/tip/a598bb5e3558509cbb8aa1d422071ef61fda9d77
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Fri, 28 Aug 2015 12:02:37 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Fri, 28 Aug 2015 14:53:48 -0300

perf trace: Add header with copyright and background info

Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Stephane Eranian <[email protected]>
---
 tools/perf/builtin-trace.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
tools/perf/builtin-trace.c +19 -0
index 2f1162d..4e3abba 100644
@@ -1,3 +1,21 @@
+/*
+ * builtin-trace.c
+ *
+ * Builtin 'trace' command:
+ *
+ * Display a continuously updated trace of any workload, CPU, specific PID,
+ * system wide, etc.  Default format is loosely strace like, but any other
+ * event may be specified using --event.
+ *
+ * Copyright (C) 2012, 2013, 2014, 2015 Red Hat Inc, Arnaldo Carvalho de Melo <[email protected]>
+ *
+ * Initially based on the 'trace' prototype by Thomas Gleixner:
+ *
+ * http://lwn.net/Articles/415728/ ("Announcing a new utility: 'trace'")
+ *
+ * Released under the GPL v2. (and only v2, not any later version)
+ */
+
 #include <traceevent/event-parse.h>
 #include "builtin.h"
 #include "util/color.h"
@@ -27,6 +45,7 @@
 
 #ifndef MADV_HWPOISON
 # define MADV_HWPOISON		100
+
 #endif
 
 #ifndef MADV_MERGEABLE