[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-82d5308127c3e3404ffbf41e503853c68660b18b@git.kernel.org>
Date: Fri, 26 Jun 2009 18:51:44 GMT
From: tip-bot for Lai Jiangshan <laijs@...fujitsu.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
fweisbec@...il.com, rostedt@...dmis.org, tglx@...utronix.de,
laijs@...fujitsu.com, mingo@...e.hu
Subject: [tip:tracing/urgent] trace_export: Repair missed fields
Commit-ID: 82d5308127c3e3404ffbf41e503853c68660b18b
Gitweb: http://git.kernel.org/tip/82d5308127c3e3404ffbf41e503853c68660b18b
Author: Lai Jiangshan <laijs@...fujitsu.com>
AuthorDate: Fri, 26 Jun 2009 17:07:02 +0800
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Fri, 26 Jun 2009 20:48:40 +0200
trace_export: Repair missed fields
Some fields for struct ftrace_graph_ret are missed
when they are exported to user.
Signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>
LKML-Reference: <4A448FB6.5000302@...fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/trace/trace_event_types.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/kernel/trace/trace_event_types.h b/kernel/trace/trace_event_types.h
index 5e32e37..6db005e 100644
--- a/kernel/trace/trace_event_types.h
+++ b/kernel/trace/trace_event_types.h
@@ -26,6 +26,9 @@ TRACE_EVENT_FORMAT(funcgraph_exit, TRACE_GRAPH_RET,
ftrace_graph_ret_entry, ignore,
TRACE_STRUCT(
TRACE_FIELD(unsigned long, ret.func, func)
+ TRACE_FIELD(unsigned long long, ret.calltime, calltime)
+ TRACE_FIELD(unsigned long long, ret.rettime, rettime)
+ TRACE_FIELD(unsigned long, ret.overrun, overrun)
TRACE_FIELD(int, ret.depth, depth)
),
TP_RAW_FMT("<-- %lx (%d)")
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists