Home
last modified time | relevance | path

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

12345

/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
/tools/testing/selftests/damon/
DMakefile9 TEST_FILES = _chk_dependency.sh _debugfs_common.sh _damon_sysfs.py
14 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
/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.
/tools/testing/selftests/x86/bugs/
DMakefile1 TEST_PROGS := its_sysfs.py its_permutations.py its_indirect_alignment.py its_ret_alignment.py
2 TEST_FILES := common.py
/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
/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
/tools/power/cpupower/bindings/python/
D.gitignore6 *.py
7 !test_raw_pylibcpupower.py
/tools/perf/scripts/python/bin/
Dgecko-report4 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py
6 perf script -s "$PERF_EXEC_PATH"/scripts/python/gecko.py -- "$@"
/tools/perf/Documentation/
Dbuild-xed.txt7 $ ./mfile.py --share
8 $ ./mfile.py examples
9 $ sudo ./mfile.py --prefix=/usr/local install
Ddb-export.txt10 tools/perf/scripts/python/export-to-sqlite.py
11 tools/perf/scripts/python/export-to-postgresql.py
29 3. Scripts that use a database (e.g. exported-sql-viewer.py) can maintain
31 before using them. e.g. function IsSelectable() in exported-sql-viewer.py
/tools/testing/selftests/tpm2/
DMakefile5 TEST_PROGS_EXTENDED := tpm2.py tpm2_tests.py
/tools/testing/selftests/tc-testing/
DMakefile4 TEST_FILES := action-ebpf tdc*.py Tdc*.py plugins plugin-lib tc-tests scripts
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 …]
/tools/testing/selftests/net/lib/
DMakefile13 TEST_INCLUDES := $(wildcard py/*.py)
/tools/testing/selftests/drivers/net/hw/lib/py/
D__init__.py10 from net.lib.py import *
11 from drivers.net.lib.py import *
/tools/testing/selftests/amd-pstate/
DMakefile11 TEST_FILES += ../../../power/x86/amd_pstate_tracer/amd_pstate_trace.py
12 TEST_FILES += ../../../power/x86/intel_pstate_tracer/intel_pstate_tracer.py
/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
/tools/testing/selftests/net/
Dnl_netdev.py5 from lib.py import ksft_run, ksft_exit, ksft_pr
6 from lib.py import ksft_eq, ksft_ge, ksft_busy_wait
7 from lib.py import NetdevFamily, NetdevSimDev, ip
/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
184 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py add-flow "$2" "$3" "$4"
194 ovs_sbx "$1" python3 $ovs_base/ovs-dpctl.py del-flows "$2"
311 ovs_spawn_daemon "test_psample" python3 $ovs_base/ovs-dpctl.py psample-events
701 [ $(python3 $ovs_base/ovs-dpctl.py show nv0 | grep port | \
705 [ $(python3 $ovs_base/ovs-dpctl.py show nv0 | grep port | \
759 if python3 ovs-dpctl.py -h 2>&1 | \
[all …]
/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')

12345