mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
Merge branch 'tip/perf/urgent-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into trace/tip/perf/urgent-4
Conflicts: kernel/trace/trace_events.c Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
commit
d244b6bd41
5 changed files with 175 additions and 75 deletions
|
@ -507,7 +507,15 @@ get_return_for_leaf(struct trace_iterator *iter,
|
|||
* if the output fails.
|
||||
*/
|
||||
data->ent = *curr;
|
||||
data->ret = *next;
|
||||
/*
|
||||
* If the next event is not a return type, then
|
||||
* we only care about what type it is. Otherwise we can
|
||||
* safely copy the entire event.
|
||||
*/
|
||||
if (next->ent.type == TRACE_GRAPH_RET)
|
||||
data->ret = *next;
|
||||
else
|
||||
data->ret.ent.type = next->ent.type;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue