Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
16097439
Commit
16097439
authored
Mar 06, 2009
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'tracing/ftrace' and 'tracing/function-graph-tracer' into tracing/core
parents
40ada30f
0012693a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
arch/x86/kernel/ftrace.c
arch/x86/kernel/ftrace.c
+1
-1
include/linux/ftrace.h
include/linux/ftrace.h
+7
-6
kernel/trace/trace_functions_graph.c
kernel/trace/trace_functions_graph.c
+1
-1
No files found.
arch/x86/kernel/ftrace.c
View file @
16097439
...
...
@@ -436,7 +436,7 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
return
;
}
calltime
=
cpu_clock
(
raw_smp_processor_id
()
);
calltime
=
trace_clock_local
(
);
if
(
ftrace_push_return_trace
(
old
,
calltime
,
self_addr
,
&
trace
.
depth
)
==
-
EBUSY
)
{
...
...
include/linux/ftrace.h
View file @
16097439
#ifndef _LINUX_FTRACE_H
#define _LINUX_FTRACE_H
#include <linux/linkage.h>
#include <linux/fs.h>
#include <linux/ktime.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/trace_clock.h>
#include <linux/kallsyms.h>
#include <linux/linkage.h>
#include <linux/bitops.h>
#include <linux/module.h>
#include <linux/ktime.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <asm/ftrace.h>
...
...
kernel/trace/trace_functions_graph.c
View file @
16097439
...
...
@@ -112,7 +112,7 @@ unsigned long ftrace_return_to_handler(void)
unsigned
long
ret
;
ftrace_pop_return_trace
(
&
trace
,
&
ret
);
trace
.
rettime
=
cpu_clock
(
raw_smp_processor_id
()
);
trace
.
rettime
=
trace_clock_local
(
);
ftrace_graph_return
(
&
trace
);
if
(
unlikely
(
!
ret
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment