Searched +full:json +full:- +full:schema (Results 1 – 11 of 11) sorted by relevance
| /linux/tools/net/ynl/pyynl/ |
| H A D | cli.py | 2 # 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 D | ethtool.py | 2 # 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 72 Print out the speed-like strings from the value dict. 74 speed_re = re.compile(r'[0-9]+base[^/]+/.+') 84 'dev-name': args.device, 101 if msg['header']['dev-name'] == args.device: 102 if args.json: 113 Convert ynl-formatted bitmask to a dict of bit=value. [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | gecko.py | 1 # 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 | .gitignore | 1 # 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 D | nsim.py | 1 # 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 D | genetlink.yaml | 1 # 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 D | netlink-raw.yaml | 1 # 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 D | Makefile.dtbs | 1 # 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 D | xlnx,zynqmp-ipi-mailbox.yaml | 1 # 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/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 5 EXTRAVERSION = -rc6 14 ifeq ($(filter output-sync,$(.FEATURES)),) 28 # Most importantly: sub-Makefiles should only ever modify files in 31 # unavoidable when linking the built-in.a targets which finally 41 this-makefile := $(lastword $(MAKEFILE_LIST)) 42 abs_srctree := $(realpath $(dir $(this-makefile))) 47 # Do not use make's built-in rules and variables 48 # (this increases performance and avoids hard-to-debug behaviour) 49 MAKEFLAGS += -rR [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | checkpatch.rst | 1 .. 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 …]
|