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
nexedi
linux
Commits
aebfef03
Commit
aebfef03
authored
Jan 22, 2010
by
Mike Frysinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blackfin: implement ftrace mcount test
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
6388d14e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
arch/blackfin/Kconfig
arch/blackfin/Kconfig
+1
-0
arch/blackfin/kernel/ftrace-entry.S
arch/blackfin/kernel/ftrace-entry.S
+10
-1
No files found.
arch/blackfin/Kconfig
View file @
aebfef03
...
...
@@ -25,6 +25,7 @@ config BLACKFIN
def_bool y
select HAVE_FUNCTION_GRAPH_TRACER
select HAVE_FUNCTION_TRACER
select HAVE_FUNCTION_TRACE_MCOUNT_TEST
select HAVE_IDE
select HAVE_KERNEL_GZIP if RAMKERNEL
select HAVE_KERNEL_BZIP2 if RAMKERNEL
...
...
arch/blackfin/kernel/ftrace-entry.S
View file @
aebfef03
/*
*
mcount
and
friends
--
ftrace
stuff
*
*
Copyright
(
C
)
2009
Analog
Devices
Inc
.
*
Copyright
(
C
)
2009
-
2010
Analog
Devices
Inc
.
*
Licensed
under
the
GPL
-
2
or
later
.
*/
...
...
@@ -21,6 +21,15 @@
*
function
will
be
waiting
there
.
mmmm
pie
.
*/
ENTRY
(
__mcount
)
#ifdef CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST
/
*
optional
micro
optimization
:
return
if
stopped
*/
p1.l
=
_function_trace_stop
;
p1.h
=
_function_trace_stop
;
r3
=
[
p1
]
;
cc
=
r3
==
0
;
if
!
cc
jump
_ftrace_stub
(
bp
)
;
#endif
/
*
save
third
function
arg
early
so
we
can
do
testing
below
*/
[--
sp
]
=
r2
;
...
...
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