mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
tools/bootconfig: Ignore comment lines in dynamic_events/kprobe_events file
Since dynamic_events/kprobe_events files show the fetcharg debug information as comment lines, its reader needs to ignore it. Link: https://lore.kernel.org/all/178271360563.1176915.423090353815990910.stgit@devnote2/ Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
This commit is contained in:
parent
dccddc39aa
commit
777bcbd2ac
|
|
@ -57,6 +57,8 @@ EOF
|
|||
kprobe_event_options() {
|
||||
cat $TRACEFS/kprobe_events | while read p args; do
|
||||
case $p in
|
||||
\#*)
|
||||
continue;;
|
||||
r*)
|
||||
cat 1>&2 << EOF
|
||||
# WARN: A return probe found but it is not supported by bootconfig. Skip it.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user