Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/drivers/comedi/drivers/ni_routing/tools/
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-6.12.1/tools/testing/selftests/drivers/net/hw/
DMakefile4 csum.py \
5 devlink_port_split.py \
13 pp_alloc_fail.py \
14 rss_ctx.py \
22 $(wildcard lib/py/*.py ../lib/py/*.py) \
Dpp_alloc_fail.py7 from lib.py import ksft_run, ksft_exit, ksft_pr
8 from lib.py import KsftSkipEx, KsftFailEx
9 from lib.py import NetdevFamily, NlError
10 from lib.py import NetDrvEpEnv
11 from lib.py import cmd, tool, GenerateTraffic
/linux-6.12.1/tools/testing/selftests/tc-testing/plugin-lib/
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-6.12.1/tools/testing/selftests/damon/
DMakefile14 TEST_PROGS += sysfs_update_schemes_tried_regions_wss_estimation.py
15 TEST_PROGS += damos_quota.py damos_quota_goal.py damos_apply_interval.py
16 TEST_PROGS += damos_tried_regions.py damon_nr_regions.py
26 TEST_PROGS += sysfs_update_schemes_tried_regions_hang.py
/linux-6.12.1/tools/verification/dot2/
DMakefile19 $(INSTALL) automata.py -D -m 644 $(DESTDIR)$(PYLIB)/dot2/automata.py
20 $(INSTALL) dot2c.py -D -m 644 $(DESTDIR)$(PYLIB)/dot2/dot2c.py
22 $(INSTALL) dot2k.py -D -m 644 $(DESTDIR)$(PYLIB)/dot2/dot2k.py
/linux-6.12.1/tools/testing/selftests/drivers/net/
DMakefile3 TEST_INCLUDES := $(wildcard lib/py/*.py) \
9 ping.py \
10 queues.py \
11 stats.py \
Dping.py4 from lib.py import ksft_run, ksft_exit
5 from lib.py import ksft_eq
6 from lib.py import NetDrvEpEnv
7 from lib.py import bkg, cmd, wait_port_listen, rand_port
Dqueues.py4 from lib.py import ksft_run, ksft_exit, ksft_eq, KsftSkipEx
5 from lib.py import EthtoolFamily, NetdevFamily
6 from lib.py import NetDrvEnv
7 from lib.py import cmd
Dstats.py5 from lib.py import ksft_run, ksft_exit, ksft_pr
6 from lib.py import ksft_ge, ksft_eq, ksft_in, ksft_true, ksft_raises, KsftSkipEx, KsftXfailEx
7 from lib.py import ksft_disruptive
8 from lib.py import EthtoolFamily, NetdevFamily, RtnlFamily, NlError
9 from lib.py import NetDrvEnv
10 from lib.py import ip, defer
DREADME.rst76 Communication methods are defined by classes in ``lib/py/remote_{name}.py``.
78 the framework, by simply adding an appropriately named file to ``lib/py``.
105 [/root] # ./ksft-net-drv/run_kselftest.sh -t drivers/net:ping.py
109 # selftests: drivers/net: ping.py
116 ok 1 selftests: drivers/net: ping.py
130 [/root] # ./ksft-net-drv/drivers/net/ping.py
/linux-6.12.1/Documentation/bpf/
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-6.12.1/scripts/gdb/linux/
DMakefile5 symlinks := $(patsubst $(src)/%,%,$(wildcard $(src)/*.py))
21 always-y += constants.py
22 $(obj)/constants.py: $(src)/constants.py.in FORCE
/linux-6.12.1/tools/testing/selftests/tc-testing/
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-6.12.1/scripts/
Dspdxcheck-test.sh5 python3 scripts/spdxcheck.py $FILE
6 python3 scripts/spdxcheck.py - < $FILE
10 python3 scripts/spdxcheck.py > /dev/null
/linux-6.12.1/Documentation/dev-tools/kunit/
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 …]
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`.
Dstart.rst24 ./tools/testing/kunit/kunit.py run
30 This happens because internally kunit.py specifies ``.kunit``
72 If you didn't run ``kunit.py run`` yet, you can generate it by running:
77 tools/testing/kunit/kunit.py config
81 ``.kunitconfig`` lives in the ``--build_dir`` used by kunit.py, which is
99 ./tools/testing/kunit/kunit.py run \
105 ./tools/testing/kunit/kunit.py run \
109 d. If you change the ``.kunitconfig``, kunit.py will trigger a rebuild of the
112 ``.kunitconfig``, kunit.py won't overwrite your changes.
135 ./tools/testing/kunit/kunit.py run "kunit_executor_test"
[all …]
Drun_wrapper.rst19 ./tools/testing/kunit/kunit.py run
33 ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all`
53 ./tools/testing/kunit/kunit.py run --kunitconfig=fs/ext4/.kunitconfig
59 ./tools/testing/kunit/kunit.py run --help
111 ./tools/testing/kunit/kunit.py config
118 ./tools/testing/kunit/kunit.py build
126 ./tools/testing/kunit/kunit.py exec
141 ./tools/testing/kunit/kunit.py run --raw_output
151 ./tools/testing/kunit/kunit.py parse /var/log/dmesg
153 dmesg | ./tools/testing/kunit/kunit.py parse
[all …]
/linux-6.12.1/
D.editorconfig12 [*.{json,py,rs}]
19 # this must be below the general *.py to overwrite it
20 [tools/{perf,power,rcu,testing/kunit}/**.py,]
/linux-6.12.1/Documentation/translations/zh_CN/doc-guide/
Dchecktransupdate.rst31 ./scripts/checktransupdate.py --help
37 - ``./scripts/checktransupdate.py -l zh_CN``
39 - ``./scripts/checktransupdate.py Documentation/translations/zh_CN/dev-tools/testing-overview.rst``
/linux-6.12.1/tools/perf/Documentation/
Dbuild-xed.txt7 $ ./mfile.py --share
8 $ ./mfile.py examples
9 $ sudo ./mfile.py --prefix=/usr/local install
/linux-6.12.1/tools/testing/selftests/net/openvswitch/
Dopenvswitch.sh111 ovs_sbx "$sbxname" python3 $ovs_base/ovs-dpctl.py add-dp $*
118 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py add-if "$2" "$3" \
121 python3 $ovs_base/ovs-dpctl.py add-if \
130 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py del-if "$2" "$3" || return 1
182 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py add-flow "$2" "$3" "$4"
192 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py del-flows "$2"
309 ovs_spawn_daemon "test_psample" python3 $ovs_base/ovs-dpctl.py psample-events
699 [ $(python3 $ovs_base/ovs-dpctl.py show nv0 | grep port | \
703 [ $(python3 $ovs_base/ovs-dpctl.py show nv0 | grep port | \
757 if python3 ovs-dpctl.py -h 2>&1 | \
[all …]
/linux-6.12.1/tools/perf/pmu-events/
Dmetric.py547 py = orig.strip()
550 py = re.sub(r'([a-zA-Z][^-+/\* \\\(\),]*(?:\\.[^-+/\* \\\(\),]*)*)',
551 r'Event(r"\1")', py)
553 py = re.sub(r'#Event\(r"([^"]*)"\)', r'Literal("#\1")', py)
557 py = re.sub(r'0Event\(r"[xX]([0-9a-fA-F]*)"\)', r'Event("0x\1")', py)
559 py = re.sub(r'([0-9]+)Event\(r"(e[0-9]+)"\)', r'\1\2', py)
563 py = re.sub(rf'Event\(r"{kw}"\)', kw, py)
565 parsed = ast.parse(py, mode='eval')
/linux-6.12.1/tools/power/pm-graph/
DMakefile37 $(INSTALL) sleepgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
38 $(INSTALL) bootgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
53 ln -s ../lib/pm-graph/bootgraph.py $(DESTDIR)$(BINDIR)/bootgraph
54 ln -s ../lib/pm-graph/sleepgraph.py $(DESTDIR)$(BINDIR)/sleepgraph

1234567