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
9caee613
Commit
9caee613
authored
May 23, 2008
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ftrace: fix __trace_special()
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
ada6b835
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
kernel/trace/trace_sysprof.c
kernel/trace/trace_sysprof.c
+4
-4
No files found.
kernel/trace/trace_sysprof.c
View file @
9caee613
...
...
@@ -81,7 +81,7 @@ static void timer_notify(struct pt_regs *regs, int cpu)
}
trace_special
(
tr
,
data
,
0
,
current
->
pid
,
regs
->
ip
);
__
trace_special
(
tr
,
data
,
0
,
current
->
pid
,
regs
->
ip
);
fp
=
(
void
__user
*
)
regs
->
bp
;
...
...
@@ -93,18 +93,18 @@ static void timer_notify(struct pt_regs *regs, int cpu)
if
((
unsigned
long
)
fp
<
regs
->
sp
)
break
;
trace_special
(
tr
,
data
,
1
,
frame
.
return_address
,
__
trace_special
(
tr
,
data
,
1
,
frame
.
return_address
,
(
unsigned
long
)
fp
);
fp
=
frame
.
next_fp
;
}
trace_special
(
tr
,
data
,
2
,
current
->
pid
,
i
);
__
trace_special
(
tr
,
data
,
2
,
current
->
pid
,
i
);
/*
* Special trace entry if we overflow the max depth:
*/
if
(
i
==
sample_max_depth
)
trace_special
(
tr
,
data
,
-
1
,
-
1
,
-
1
);
__
trace_special
(
tr
,
data
,
-
1
,
-
1
,
-
1
);
}
static
enum
hrtimer_restart
stack_trace_timer_fn
(
struct
hrtimer
*
hrtimer
)
...
...
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