[PATCH 14/37] perf test: Fix 'perf test BPF' when it fails to find a suitable vmlinux

2015-11-19 Thread Arnaldo Carvalho de Melo
From: Wang Nan Two bugs in 'perf test BPF' are found when testing BPF prologue without vmlinux: # mv /lib/modules/4.3.0-rc4+/build/vmlinux{,.bak} # ./perf test BPF 37: Test BPF filter :Failed to find the path for kernel: No such file or directory Ok Test BPF should fail in

[PATCH 14/37] perf test: Fix 'perf test BPF' when it fails to find a suitable vmlinux

2015-11-19 Thread Arnaldo Carvalho de Melo
From: Wang Nan Two bugs in 'perf test BPF' are found when testing BPF prologue without vmlinux: # mv /lib/modules/4.3.0-rc4+/build/vmlinux{,.bak} # ./perf test BPF 37: Test BPF filter :Failed to find the path for kernel: No such file or directory Ok Test