Lines Matching refs:os
8 import os, sys
10 LINUX_ROOT = os.path.abspath(os.path.join(__file__,
11 os.pardir, os.pardir, os.pardir, os.pardir, os.pardir))
12 BPFTOOL_DIR = os.getenv('BPFTOOL_DIR',
13 os.path.join(LINUX_ROOT, 'tools/bpf/bpftool'))
14 BPFTOOL_BASHCOMP_DIR = os.getenv('BPFTOOL_BASHCOMP_DIR',
15 os.path.join(BPFTOOL_DIR, 'bash-completion'))
16 BPFTOOL_DOC_DIR = os.getenv('BPFTOOL_DOC_DIR',
17 os.path.join(BPFTOOL_DIR, 'Documentation'))
18 INCLUDE_DIR = os.getenv('INCLUDE_DIR',
19 os.path.join(LINUX_ROOT, 'tools/include'))
304 filename = os.path.join(BPFTOOL_DIR, 'main.h')
330 filename = os.path.join(BPFTOOL_DOC_DIR, 'substitutions.rst')
353 filename = os.path.join(BPFTOOL_DIR, 'prog.c')
366 filename = os.path.join(BPFTOOL_DIR, 'map.c')
375 filename = os.path.join(BPFTOOL_DIR, 'cgroup.c')
387 self.filename = os.path.join(BPFTOOL_DIR, filename)
394 filename = os.path.join(INCLUDE_DIR, 'uapi/linux/bpf.h')
432 filename = os.path.join(BPFTOOL_DOC_DIR, 'bpftool-prog.rst')
441 filename = os.path.join(BPFTOOL_DOC_DIR, 'bpftool-map.rst')
450 filename = os.path.join(BPFTOOL_DOC_DIR, 'bpftool-cgroup.rst')
462 self.filename = os.path.join(BPFTOOL_DIR, filename)
469 filename = os.path.join(BPFTOOL_BASHCOMP_DIR, 'bpftool')
593 man_cmd_info = ManGenericExtractor(os.path.join(BPFTOOL_DOC_DIR, 'bpftool-' + cmd + '.rst'))
604 man_main_info = ManGenericExtractor(os.path.join(BPFTOOL_DOC_DIR, 'bpftool.rst'))