![]() |
|
|||
0001 #!/bin/sh 0002 # SPDX-License-Identifier: GPL-2.0 0003 # description: Kprobe event with comm arguments 0004 # requires: kprobe_events 0005 0006 grep -A1 "fetcharg:" README | grep -q "\$comm" || exit_unsupported # this is too old 0007 0008 echo "p:testprobe $FUNCTION_FORK comm=\$comm " > kprobe_events 0009 grep testprobe kprobe_events | grep -q 'comm=$comm' 0010 test -d events/kprobes/testprobe 0011 0012 echo 1 > events/kprobes/testprobe/enable 0013 ( echo "forked") 0014 grep testprobe trace | grep -q 'comm=".*"' 0015 0016 exit 0
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |