-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
# cat /proc/version
Linux version 5.10.2-debug (oe-user@oe-host) (arm-resy-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.0.20200730) #1 SMP Mon Dec 21 12:30:08 UTC 2020
# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 6.00
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
processor : 1
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 6.00
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
processor : 2
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 6.00
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
processor : 3
model name : ARMv7 Processor rev 10 (v7l)
BogoMIPS : 6.00
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 10
Hardware : Freescale i.MX6 Quad/DualLite (Device Tree)
Revision : 0000
Serial : 0000000000000000
# ply -T
Verifying kernel config (/proc/config.gz)... OK
Ensuring that debugfs is mounted... OK
Verifying kprobe... OK
Verifying tracepoint... OK
# ply -v
ply 2.1.1-14-ge25c913 (linux-version:330240~5.10.0)
This is what's currently on master.
# ply 'kretprobe:vfs_read { @["size"] = quantize(retval); }'
ply: active
^Cply: deactivating
@:
{ size }:
< 0 1 ┤▏ │
[ 0, 1] 111 ┤████████████████▎ │
[ 2, 3] 19 ┤██▊ │
...
[ 16, 31] 2 ┤▎ │
[ 32, 63] 66 ┤█████████▊ │
...
[ 512, 1k) 5 ┤▊ │
...
[ 4k, 8k) 14 ┤██ │
root@multi-v7-ml:~/projects/ply/scripts#
# ply 'kprobe:do_sys_open { printf("%v(%v): %s\n", comm, uid, str(arg1)); }'
ply: active
executed find and cat
^Cply: deactivating
# ./opensnoop.ply
ply: active
cd /
find | grep linux
^Cply: deactivating
path:
# ./execsnoop.ply
ERR:-2
# ./net-rx.ply
ERR:-2
Can you please advise on the test cases?
In case you want me to run more tests, or different things please let me know.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels