Home
last modified time | relevance | path

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

1234567

/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 \
H A D.gitignore2 comedi_h.py
4 ni_values.py
/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/hw/
H A DMakefile4 csum.py \
5 devlink_port_split.py \
13 pp_alloc_fail.py \
21 $(wildcard lib/py/*.py ../lib/py/*.py) \
H A Dpp_alloc_fail.py6 from lib.py import ksft_run, ksft_exit, ksft_pr
7 from lib.py import KsftSkipEx, KsftFailEx
8 from lib.py import NetdevFamily, NlError
9 from lib.py import NetDrvEpEnv
10 from lib.py import cmd, tool, GenerateTraffic
/linux/tools/testing/selftests/drivers/net/
H A DMakefile3 TEST_INCLUDES := $(wildcard lib/py/*.py)
6 ping.py \
7 queues.py \
8 stats.py \
H A 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
H A 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
H A 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/tools/verification/dot2/
H A 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/tools/testing/selftests/damon/
H A 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
25 TEST_PROGS += sysfs_update_schemes_tried_regions_hang.py
/linux/Documentation/bpf/
H A Ddrgn.rst17 bpf_inspect.py
37 % sudo bpf_inspect.py prog
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
106 --- a/tools/bpf_inspect.py
107 +++ b/tools/bpf_inspect.py
122 % sudo bpf_inspect.py p
[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
44 ./tdc.py -p /path/to/tc
64 ./tdc.py -h
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
144 -rwxr-xr-x 1 bjb bjb 0 Sep 29 15:56 __init__.py
179 TdcPlugin.py. To use the plugin, you have to put the
185 - rootPlugin.py:
187 - nsPlugin.py:
[all …]
/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/Documentation/dev-tools/kunit/
H A Drunning_tips.rst7 Using ``kunit.py run`` ("kunit tool")
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
71 $ ./tools/testing/kunit/kunit.py run --kunitconfig=lib/kunit
214 failed (as of 5.13). But ``kunit.py parse`` would, see below.
228 results in the same familiar format that ``kunit.py run`` does.
232 $ ./tools/testing/kunit/kunit.py parse /var/log/dmesg
360 kunit.py run "example" --list_tests_attr
374 kunit.py run --filter speed=slow
[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`.
H A Dstart.rst24 ./tools/testing/kunit/kunit.py run
30 This happens because internally kunit.py specifies ``.kunit``
77 tools/testing/kunit/kunit.py config
99 ./tools/testing/kunit/kunit.py run \
105 ./tools/testing/kunit/kunit.py run \
112 ``.kunitconfig``, kunit.py won't overwrite your changes.
135 ./tools/testing/kunit/kunit.py run "kunit_executor_test"
140 ./tools/testing/kunit/kunit.py run "example.example_simple_test"
146 ./tools/testing/kunit/kunit.py run "*.*64*"
284 ./tools/testing/kunit/kunit.py run
[all …]
H A Drun_wrapper.rst19 ./tools/testing/kunit/kunit.py run
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
153 dmesg | ./tools/testing/kunit/kunit.py parse
201 ./tools/testing/kunit/kunit.py run --arch=x86_64
208 ./tools/testing/kunit/kunit.py run \
219 ``tools/testing/kunit/qemu_configs/x86_64.py``.
[all …]
/linux/tools/perf/Documentation/
H A Dbuild-xed.txt7 $ ./mfile.py --share
8 $ ./mfile.py examples
9 $ sudo ./mfile.py --prefix=/usr/local install
/linux/
H A D.editorconfig13 [*.{json,py,rs}]
21 # this must be below the general *.py to overwrite it
22 [tools/{perf,power,rcu,testing/kunit}/**.py,]
/linux/tools/perf/pmu-events/
H A 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/tools/testing/selftests/devices/
H A DMakefile1 TEST_PROGS := test_discoverable_devices.py
2 TEST_FILES := boards ksft.py
/linux/tools/perf/scripts/python/bin/
H A Dgecko-report4 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py
6 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@"
/linux/tools/testing/selftests/tpm2/
H A DMakefile5 TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py

1234567