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
408133e9
Commit
408133e9
authored
Apr 29, 2011
by
Russell King
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'kprobes' of
git://git.linaro.org/people/nico/linux
into fixes
parents
ef267500
cdc25361
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
462 additions
and
321 deletions
+462
-321
arch/arm/include/asm/kprobes.h
arch/arm/include/asm/kprobes.h
+3
-0
arch/arm/kernel/kprobes-decode.c
arch/arm/kernel/kprobes-decode.c
+457
-320
arch/arm/kernel/kprobes.c
arch/arm/kernel/kprobes.c
+2
-1
No files found.
arch/arm/include/asm/kprobes.h
View file @
408133e9
...
...
@@ -39,10 +39,13 @@ typedef u32 kprobe_opcode_t;
struct
kprobe
;
typedef
void
(
kprobe_insn_handler_t
)(
struct
kprobe
*
,
struct
pt_regs
*
);
typedef
unsigned
long
(
kprobe_check_cc
)(
unsigned
long
);
/* Architecture specific copy of original instruction. */
struct
arch_specific_insn
{
kprobe_opcode_t
*
insn
;
kprobe_insn_handler_t
*
insn_handler
;
kprobe_check_cc
*
insn_check_cc
;
};
struct
prev_kprobe
{
...
...
arch/arm/kernel/kprobes-decode.c
View file @
408133e9
This diff is collapsed.
Click to expand it.
arch/arm/kernel/kprobes.c
View file @
408133e9
...
...
@@ -134,6 +134,7 @@ static void __kprobes singlestep(struct kprobe *p, struct pt_regs *regs,
struct
kprobe_ctlblk
*
kcb
)
{
regs
->
ARM_pc
+=
4
;
if
(
p
->
ainsn
.
insn_check_cc
(
regs
->
ARM_cpsr
))
p
->
ainsn
.
insn_handler
(
p
,
regs
);
}
...
...
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