History

tracing/kprobes: Use bool for retprobe checker

Use bool instead of int for kretprobe checker. Link: http://lkml.kernel.org/r/20130509054431.30398.38561.stgit@mhiramat-M0-7522

Masami Hiramatsu committed 13 years ago

Commit db020381 parent 19dd6031 file · +1 −1Browse files

Unified · Split

kernel/trace/trace_kprobe.c+1−1
@@ -46,7 +46,7 @@ struct trace_probe { · 45 unmodified lines
4646 (sizeof(struct probe_arg) * (n)))
4747
4848
49−static __kprobes int trace_probe_is_return(struct trace_probe *tp)
49+static __kprobes bool trace_probe_is_return(struct trace_probe *tp)
5050 {
5151 return tp->rp.handler != NULL;
5252 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t