Home
last modified time | relevance | path

Searched refs:py (Results 1 – 25 of 186) sorted by relevance

12345678

/linux/tools/testing/selftests/drivers/net/hw/
H A DMakefile21 csum.py \
22 devlink_port_split.py \
23 devlink_rate_tc_bw.py \
24 devmem.py \
31 iou-zcrx.py \
32 irq.py \
34 nic_timestamp.py \
35 pp_alloc_fail.py \
36 rss_api.py \
37 rss_ctx.py \
[all...]
H A Ddevmem.py5 from lib.py import ksft_run, ksft_exit
6 from lib.py import ksft_eq, KsftSkipEx
7 from lib.py import NetDrvEpEnv
8 from lib.py import bkg, cmd, rand_port, wait_port_listen
9 from lib.py import ksft_disruptive
H A Drss_input_xfrm.py6 from lib.py import ksft_run, ksft_exit, ksft_eq, ksft_ge, cmd, fd_read_timeout
7 from lib.py import NetDrvEpEnv
8 from lib.py import EthtoolFamily, NetdevFamily
9 from lib.py import KsftSkipEx, KsftFailEx
10 from lib.py import rand_port
H A Dpp_alloc_fail.py12 from lib.py import ksft_run, ksft_exit, ksft_pr
13 from lib.py import KsftSkipEx, KsftFailEx
14 from lib.py import NetdevFamily, NlError
15 from lib.py import NetDrvEpEnv
16 from lib.py import cmd, tool, GenerateTraffic
/linux/tools/testing/selftests/drivers/net/
H A DMakefile4 TEST_INCLUDES := $(wildcard lib/py/*.py) \
14 gro.py \
15 hds.py \
16 napi_id.py \
17 napi_threaded.py \
24 netpoll_basic.py \
25 ping.py \
26 psp.py \
27 queues.py \
28 ring_reconfig.py \
[all …]
H A Dqueues.py4 from lib.py import ksft_disruptive, ksft_exit, ksft_run
5 from lib.py import ksft_eq, ksft_not_in, ksft_raises, KsftSkipEx, KsftFailEx
6 from lib.py import EthtoolFamily, NetdevFamily, NlError
7 from lib.py import NetDrvEnv
8 from lib.py import bkg, cmd, defer, ip
H A Dnapi_id.py4 from lib.py import ksft_run, ksft_exit
5 from lib.py import ksft_eq, NetDrvEpEnv
6 from lib.py import bkg, cmd, rand_port, NetNSEnter
H A Dnapi_threaded.py8 from lib.py import ksft_run, ksft_exit
9 from lib.py import ksft_eq, ksft_ne, ksft_ge
10 from lib.py import NetDrvEnv, NetdevFamily
11 from lib.py import cmd, defer, ethtool
/linux/tools/verification/rvgen/
H A DMakefile18 $(INSTALL) rvgen/automata.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/automata.py
19 $(INSTALL) rvgen/dot2c.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/dot2c.py
21 $(INSTALL) rvgen/dot2k.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/dot2k.py
22 $(INSTALL) rvgen/container.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/container.py
23 $(INSTALL) rvgen/generator.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/generator.py
24 $(INSTALL) rvgen/ltl2ba.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/ltl2ba.py
25 $(INSTALL) rvgen/ltl2k.py -D -m 644 $(DESTDIR)$(PYLIB)/rvgen/ltl2k.py
26 $(INSTALL) __main__.py -D -m 755 $(DESTDIR)$(bindir)/rvgen
/linux/tools/testing/selftests/damon/
H A DMakefile6 TEST_FILES = _damon_sysfs.py
7 TEST_FILES += drgn_dump_damon_status.py
12 TEST_PROGS += sysfs.py
13 TEST_PROGS += sysfs_update_schemes_tried_regions_wss_estimation.py
14 TEST_PROGS += damos_quota.py damos_quota_goal.py damos_apply_interval.py
15 TEST_PROGS += damos_tried_regions.py damon_nr_regions.py
20 TEST_PROGS += sysfs_update_schemes_tried_regions_hang.py
22 TEST_PROGS += sysfs_no_op_commit_break.py
/linux/drivers/comedi/drivers/ni_routing/tools/
H A DMakefile36 comedi_h.py: $(INC_UAPI)/linux/comedi.h
49 ni_values.py: convert_c_to_py
52 csv-files : ni_values.py comedi_h.py
53 ./convert_py_to_csv.py
55 csv-blank : comedi_h.py
56 ./make_blank_csv.py
59 c-files : comedi_h.py
60 ./convert_csv_to_c.py --route_values --device_routes
70 $(RM) -rf comedi_h.py ni_values.py convert_c_to_py all_cfiles.c *.pyc \
/linux/tools/testing/selftests/drivers/net/hw/lib/py/
H A D__init__.py20 from net.lib.py import NetNS, NetNSEnter, NetdevSimDev
21 from net.lib.py import EthtoolFamily, NetdevFamily, NetshaperFamily, \
23 from net.lib.py import CmdExitFailure
24 from net.lib.py import bkg, cmd, bpftool, bpftrace, defer, ethtool, \
26 from net.lib.py import KsftSkipEx, KsftFailEx, KsftXfailEx
27 from net.lib.py import ksft_disruptive, ksft_exit, ksft_pr, ksft_run, \
29 from net.lib.py import ksft_eq, ksft_ge, ksft_in, ksft_is, ksft_lt, \
31 from drivers.net.lib.py import GenerateTraffic, Remote, Iperf3Runner
32 from drivers.net.lib.py import NetDrvEnv, NetDrvEpEnv
/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DREADME-PLUGINS1 tdc.py will look for plugins in a directory plugins off the cwd.
5 tdc.py
8 __init__.py
9 10-rootPlugin.py -> ../plugin-lib/rootPlugin.py
10 20-valgrindPlugin.py -> ../plugin-lib/valgrindPlugin.py
11 30-nsPlugin.py -> ../plugin-lib/nsPlugin.py
14 tdc.py will find them and use them.
/linux/tools/testing/selftests/drivers/net/lib/py/
H A D__init__.py20 from net.lib.py import NetNS, NetNSEnter, NetdevSimDev
21 from net.lib.py import EthtoolFamily, NetdevFamily, NetshaperFamily, \
23 from net.lib.py import CmdExitFailure
24 from net.lib.py import bkg, cmd, bpftool, bpftrace, defer, ethtool, \
26 from net.lib.py import KsftSkipEx, KsftFailEx, KsftXfailEx
27 from net.lib.py import ksft_disruptive, ksft_exit, ksft_pr, ksft_run, \
29 from net.lib.py import ksft_eq, ksft_ge, ksft_in, ksft_is, ksft_lt, \
/linux/tools/testing/selftests/x86/bugs/
H A DMakefile1 TEST_PROGS := its_sysfs.py its_permutations.py its_indirect_alignment.py its_ret_alignment.py
2 TEST_FILES := common.py
/linux/Documentation/bpf/
H A Ddrgn.rst17 bpf_inspect.py
23 `bpf_inspect.py`_ is a tool intended to inspect BPF programs and maps. It can argument
27 The main use-case `bpf_inspect.py`_ covers is to show BPF programs of types
37 % sudo bpf_inspect.py prog argument
44 % sudo bpf_inspect.py map
51 % sudo bpf_inspect.py p | grep test_pkt_access
77 % sudo bpf_inspect.py
78 usage: bpf_inspect.py [-h] {prog,p,map,m} ...
104 diff --git a/tools/bpf_inspect.py b/tools/bpf_inspect.py argument
106 --- a/tools/bpf_inspect.py
[all …]
/linux/tools/testing/selftests/net/forwarding/
H A Dtc_taprio.sh189 printf "pdelay = {}\n" > isochron_data.py
193 >> isochron_data.py
194 cat <<-'EOF' > isochron_postprocess.py
203 path_delay=$(python3 ./isochron_postprocess.py)
212 rm -f ./isochron_data.py 2> /dev/null
213 rm -f ./isochron_postprocess.py 2> /dev/null
274 printf "pdelay = {}\n" > isochron_data.py
278 >> isochron_data.py
279 cat <<-'EOF' > isochron_postprocess.py
288 median_delay=$(python3 ./isochron_postprocess.py)
[all …]
/linux/scripts/gdb/linux/
H A DMakefile5 symlinks := $(patsubst $(src)/%,%,$(wildcard $(src)/*.py))
21 always-y += constants.py
22 $(obj)/constants.py: $(src)/constants.py.in FORCE
/linux/tools/testing/selftests/tc-testing/
H A DREADME25 ./tdc.py -c
39 in the tdc_config.py file. Find the 'TC' entry in the NAMES dictionary and
44 ./tdc.py -p /path/to/tc
55 Tests that use a network device should have nsPlugin.py listed as a
64 ./tdc.py -h
111 The tdc_config.py file contains multiple values that can be altered to suit
125 Run tdc.py -h to see the full list of available arguments.
131 was in the tdc.py script has been moved into the plugins.
142 lrwxrwxrwx 1 bjb bjb 27 Oct 4 16:12 10-rootPlugin.py -> ../plugin-lib/rootPlugin.py
143 lrwxrwxrwx 1 bjb bjb 25 Oct 12 17:55 20-nsPlugin.py -> ../plugin-lib/nsPlugin.py
[all …]
/linux/tools/power/cpupower/bindings/python/
H A DMakefile35 install -D raw_pylibcpupower.py $(INSTALL_DIR)/raw_pylibcpupower.py
39 rm -f $(INSTALL_DIR)/raw_pylibcpupower.py
43 rm -f raw_pylibcpupower.py raw_pylibcpupower_wrap.c raw_pylibcpupower_wrap.o _raw_pylibcpupower.so
/linux/scripts/
H A Dspdxcheck-test.sh5 python3 scripts/spdxcheck.py $FILE
6 python3 scripts/spdxcheck.py - < $FILE
10 python3 scripts/spdxcheck.py > /dev/null
/linux/tools/perf/pmu-events/
H A DBuild6 JEVENTS_PY = pmu-events/jevents.py
7 METRIC_PY = pmu-events/metric.py
8 METRIC_TEST_PY = pmu-events/metric_test.py
14 LEGACY_CACHE_PY = pmu-events/make_legacy_cache.py
58 PMU_EVENTS_PY_TESTS := $(wildcard *.py)
69 PMU_EVENTS_PY_TESTS := $(wildcard *.py)
H A Dmetric.py581 py = orig.strip()
584 py = re.sub(r'([a-zA-Z][^-+/\* \\\(\),]*(?:\\.[^-+/\* \\\(\),]*)*)',
585 r'Event(r"\1")', py)
587 py = re.sub(r'#Event\(r"([^"]*)"\)', r'Literal("#\1")', py)
590 prev_py = py
591 py = re.sub(r'Event\(r"([^"]*)"\),Event\(r"([^"]*)"\)', r'Event(r"\1,\2")', py)
592 if py == prev_py:
597 py = re.sub(r'0Event\(r"[xX]([0-9a-fA-F]*)"\)', r'Event("0x\1")', py)
599 py = re.sub(r'([0-9]+)Event\(r"(e[0-9]*)"\)', r'\1\2', py)
603 py = re.sub(rf'Event\(r"{kw}"\)', kw, py)
[all …]
/linux/Documentation/dev-tools/kunit/
H A Drunning_tips.rst7 Using ``kunit.py run`` ("kunit tool")
18 ( cd "$(git rev-parse --show-toplevel)" && ./tools/testing/kunit/kunit.py run "$@" )
22 Early versions of ``kunit.py`` (before 5.6) didn't work unless run from
28 ``kunit.py run`` accepts an optional glob argument to filter tests. The format
36 $ ./tools/testing/kunit/kunit.py run 'sysctl*'
43 $ ./tools/testing/kunit/kunit.py run 'sysctl*.*write*'
55 ``kunit.py run`` (along with ``build``, and ``config``) supports a
64 $ ./tools/testing/kunit/kunit.py run --kunitconfig=lib/kunit/.kunitconfig
71 $ ./tools/testing/kunit/kunit.py run --kunitconfig=lib/kunit
97 $ ./tools/testing/kunit/kunit.py run --kernel_args=param=42 --kernel_args=param2=false
[all …]
H A Dfaq.rst34 (``tools/testing/kunit/kunit.py``) that might not support some architectures
73 1. Run ``./tools/testing/kunit/kunit.py run`` with the ``--raw_output``
76 2. Instead of running ``kunit.py run``, try running ``kunit.py config``,
77 ``kunit.py build``, and ``kunit.py exec`` independently. This can help track
79 can run it manually against ``stdin`` or a file with ``kunit.py parse``.)
82 after building the UML kernel (for example, by using ``kunit.py build``).
89 around, so you can see what config was used after running ``kunit.py run``.
93 5. Try to run ``make ARCH=um defconfig`` before running ``kunit.py run``. This
101 can be parsed with ``kunit.py parse``. For more details, see :ref:`kunit-on-qemu`.

12345678