Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
37bd824a
Commit
37bd824a
authored
Feb 18, 2009
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'tracing/ftrace' and 'tracing/urgent' into tracing/core
parents
73d3fd96
5b058bcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
kernel/trace/ftrace.c
kernel/trace/ftrace.c
+5
-1
No files found.
kernel/trace/ftrace.c
View file @
37bd824a
...
@@ -2562,7 +2562,7 @@ static int alloc_retstack_tasklist(struct ftrace_ret_stack **ret_stack_list)
...
@@ -2562,7 +2562,7 @@ static int alloc_retstack_tasklist(struct ftrace_ret_stack **ret_stack_list)
static
int
start_graph_tracing
(
void
)
static
int
start_graph_tracing
(
void
)
{
{
struct
ftrace_ret_stack
**
ret_stack_list
;
struct
ftrace_ret_stack
**
ret_stack_list
;
int
ret
;
int
ret
,
cpu
;
ret_stack_list
=
kmalloc
(
FTRACE_RETSTACK_ALLOC_SIZE
*
ret_stack_list
=
kmalloc
(
FTRACE_RETSTACK_ALLOC_SIZE
*
sizeof
(
struct
ftrace_ret_stack
*
),
sizeof
(
struct
ftrace_ret_stack
*
),
...
@@ -2571,6 +2571,10 @@ static int start_graph_tracing(void)
...
@@ -2571,6 +2571,10 @@ static int start_graph_tracing(void)
if
(
!
ret_stack_list
)
if
(
!
ret_stack_list
)
return
-
ENOMEM
;
return
-
ENOMEM
;
/* The cpu_boot init_task->ret_stack will never be freed */
for_each_online_cpu
(
cpu
)
ftrace_graph_init_task
(
idle_task
(
cpu
));
do
{
do
{
ret
=
alloc_retstack_tasklist
(
ret_stack_list
);
ret
=
alloc_retstack_tasklist
(
ret_stack_list
);
}
while
(
ret
==
-
EAGAIN
);
}
while
(
ret
==
-
EAGAIN
);
...
...
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