[root@sut1 ~]# cd /root/avocado/data/cache/by_location/84d0a6769cb0569c52065a2ce18b92c3a18a42da [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]# ls kprobe_example.c kprobe_example.c.1 kprobe_example.c-CHECKSUM kprobe_example.c.e4915aaf-50da-47d7-a647-376f7a6f8be3 kretprobe_example.c kretprobe_example.c-CHECKSUM kretprobe_example.c.edf5c304-4c8e-42b6-9afc-ad60136124e6 [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]# wget https://raw.githubusercontent.com/torvalds/linux/master/samples/kprobes/kretprobe_example.c -> /root/avocado/data/cache/by_location/84d0a6769cb0569c52065a2ce18b92c3a18a42da/kretprobe_example.c.edf5c304-4c8e-42b6-9afc-ad60136124e6 --2021-11-09 13:27:22-- https://raw.githubusercontent.com/torvalds/linux/master/samples/kprobes/kretprobe_example.c Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3075 (3.0K) [text/plain] Saving to: .kretprobe_example.c.1・ kretprobe_example.c.1 100%[==================================================================================================================================================>] 3.00K --.-KB/s in 0s 2021-11-09 13:27:27 (39.3 MB/s) - .kretprobe_example.c.1・ saved [3075/3075] --2021-11-09 13:27:27-- http://-/ Resolving - (-)... failed: Name or service not known. wget: unable to resolve host address .-・ FINISHED --2021-11-09 13:27:27-- Total wall clock time: 5.5s Downloaded: 1 files, 3.0K in 0s (39.3 MB/s) [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]# ls kprobe_example.c kprobe_example.c-CHECKSUM kretprobe_example.c kretprobe_example.c-CHECKSUM kprobe_example.c.1 kprobe_example.c.e4915aaf-50da-47d7-a647-376f7a6f8be3 kretprobe_example.c.1 kretprobe_example.c.edf5c304-4c8e-42b6-9afc-ad60136124e6 [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]# make make: *** No targets specified and no makefile found. Stop. [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]# insmod ./kretprobe_example.ko insmod: ERROR: could not load module ./kretprobe_example.ko: No such file or directory [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]# updatedb [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]# locate kretprobe_example.ko [root@sut1 84d0a6769cb0569c52065a2ce18b92c3a18a42da]#