(TestProcess p)
| 36 | } |
| 37 | |
| 38 | @Test(mainClass = ListFiles.class, os = Os.LINUX) |
| 39 | public void kprobe(TestProcess p) throws Exception { |
| 40 | p.profile("-e kprobe:fd_install -d 2 -o collapsed -f %f --fdtransfer", true); |
| 41 | Output out = p.readFile("%f"); |
| 42 | assert out.contains("java/io/File.list;.+;fd_install_\\[k]"); |
| 43 | } |
| 44 | |
| 45 | @Test(mainClass = ListFiles.class, os = {Os.MACOS, Os.WINDOWS}) |
| 46 | public void notLinux(TestProcess p) throws Exception { |