Home
last modified time | relevance | path

Searched +full:json +full:- +full:schema (Results 1 – 10 of 10) sorted by relevance

/linux/tools/net/ynl/pyynl/
H A Dcli.py2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
5 import json
23 raise Exception(f"Schema directory {schema_dir} does not exist")
33 class YnlEncoder(json.JSONEncoder):
39 return json.JSONEncoder.default(self, obj)
44 YNL CLI utility - a general purpose netlink utility that uses YAML
48 The --multi option can be repeated to include several do operations
55 spec_group.add_argument('--family', dest='family', type=str,
57 spec_group.add_argument('--list-families', action='store_true',
59 spec_group.add_argument('--spec', dest='spec', type=str,
[all …]
H A Dethtool.py2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
17 Verify and convert command-line arguments to the ynl-compatible request.
20 valid_attrs.remove('header') # not user-provided
44 Pretty-print a set of fields from the reply. desc specifies the
69 Print out the speed-lik
[all...]
/linux/tools/perf/scripts/python/
H A Dgecko.py1 # gecko.py - Convert perf record output to Firefox's gecko profile format
2 # SPDX-License-Identifier: GPL-2.0
9 # perf record -a -g -F 99 sleep 60
14 # perf script gecko -F 99 -a sleep 60
19 import json
32 # Add the Perf-Trace-Util library to the Python path
34 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
48 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
53 PRODUCT = os.popen('uname -op').read().strip()
68 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
[all …]
/linux/Documentation/devicetree/bindings/
H A D.gitignore1 # SPDX-License-Identifier: GPL-2.0-only
3 /processed-schema*.yaml
4 /processed-schema*.json
7 # We don't want to ignore the following even if they are dot-files
/linux/tools/testing/selftests/net/lib/py/
H A Dnsim.py1 # SPDX-License-Identifier: GPL-2.0
4 import json
18 # In case udev renamed the netdev to according to new schema,
30 ret = ip("-j link show dev %s" % ifname, ns=ns)
31 self.dev = json.loads(ret.stdout)[0]
/linux/Documentation/netlink/
H A Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
23 # Schema for specs
[all …]
/linux/scripts/
H A DMakefile.dtbs1 # SPDX-License-Identifier: GPL-2.0-only
4 dtb-$(CONFIG_OF_ALL_DTBS) += $(dtb-)
7 multi-dtb-y := $(call multi-search, $(dtb-
[all...]
/linux/Documentation/devicetree/bindings/mailbox/
H A Dxlnx,zynqmp-ipi-mailbox.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mailbox/xlnx,zynqmp-ipi-mailbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 +-------------------------------------+
16 +-------------------------------------+
17 +--------------------------------------------------+
18 TF-A | |
21 +--------------------------+ |
24 +--------------------------------------------------+
[all …]
/linux/Documentation/dev-tools/
H A Dcheckpatch.rst1 .. SPDX-License-Identifier: GPL-2.0-only
27 - -q, --quiet
31 - -v, --verbose
35 - --no-tree
39 - --no-signoff
41 Disable the 'Signed-off-by' line check. The sign-off is a simple line at
43 or otherwise have the right to pass it on as an open-source patch.
47 Signed-off-by: Random J Developer <random@developer.example.org>
49 Setting this flag effectively stops a message for a missing signed-off-by
52 - --patch
[all …]