We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8bbd84 commit 181a419Copy full SHA for 181a419
1 file changed
lib/utils.py
@@ -61,6 +61,12 @@ def check_env_vars(names):
61
62
63
def get_vmlinux():
64
+ env = get_env_var('KBUILD_OUTPUT', None)
65
+ if env:
66
+ path = f'{env}/vmlinux'
67
+ if os.path.isfile(path):
68
+ return path
69
+
70
vmlinux = get_env_var('VMLINUX_PATH', 'vmlinux')
71
if not os.path.isfile(vmlinux):
72
logging.error("Can't read kernel 'vmlinux'! Try setting VMLINUX_PATH")
0 commit comments