| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| A D | ethtool-pause.sh | 19 s=$(ethtool --json -a $NSIM_NETDEV | jq '.[].statistics') 22 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics') 27 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length') 30 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames') 35 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length') 38 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.rx_pause_frames') 40 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames')
|
| A D | ethtool-fec.sh | 69 $ETHTOOL --json --show-fec $NSIM_NETDEV | jq empty >>/dev/null 2>&1 74 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].config[]') 76 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].active[]') 82 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].config[]') 85 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].active[]')
|
| /linux/Documentation/devicetree/bindings/ |
| A D | Makefile | 28 DT_TMP_SCHEMA := $(obj)/processed-schema-examples.json 73 $(obj)/processed-schema-examples.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE 81 $(obj)/processed-schema.json: $(obj)/processed-schema-examples.json FORCE 90 $(obj)/processed-schema.json: DT_MK_SCHEMA_FLAGS := -u 91 $(obj)/processed-schema.json: $(DT_SCHEMA_FILES) check_dtschema_version FORCE 96 always-$(CHECK_DT_BINDING) += processed-schema-examples.json 97 always-$(CHECK_DTBS) += processed-schema.json
|
| A D | writing-schema.rst | 3 Writing Devicetree Bindings in json-schema 6 Devicetree bindings are written using json-schema vocabulary. Schema files are 16 Each schema doc is a structured json-schema which is defined by a set of 18 top-level json-schema properties used are: 21 A json-schema unique identifier string. The string must be a valid 47 Optional. A json-schema used to match nodes for applying the 84 binding. Each property contains a set of constraints using json-schema 101 The default for arrays in json-schema is they are variable-sized and allow more 142 schema for the schema) to ensure they are both valid json-schema and valid 169 json-schema Resources [all …]
|
| A D | .gitignore | 4 /processed-schema*.json
|
| A D | example-schema.yaml | 5 # All the top-level keys are standard json-schema keywords except for 148 properties are one case where the json-schema 'type' keyword can be used 166 description: Child nodes are just another property from a json-schema 168 type: object # DT nodes are json objects
|
| /linux/tools/testing/selftests/bpf/ |
| A D | test_bpftool.py | 6 import json 28 def _bpftool(args, json=True): argument 30 if json: 38 return _bpftool(args, json=False).decode("utf-8") 43 return json.loads(res)
|
| A D | test_bpftool_metadata.sh | 64 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null 76 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null
|
| /linux/tools/perf/pmu-events/ |
| A D | README | 11 - Regular files with '.json' extension in the name are assumed to be 28 the topic. Eg: "Floating-point.json". 34 cache.json memory.json virtual-memory.json 35 frontend.json pipeline.json 46 is derived from JSON file name, 'power8.json'). 128 File/path/name.json.
|
| A D | Build | 3 jevents-y += json.o jsmn.o jevents.o 8 find $(JDIR) -name '*.json' -o -name 'mapfile.csv') 11 find $(JDIR_TEST) -name '*.json')
|
| /linux/tools/testing/selftests/net/ |
| A D | devlink_port_split.py | 5 import json 60 ports = json.loads(stdout)['port'] 82 values = list(json.loads(stdout)['port'].values())[0] 100 values = list(json.loads(stdout)['port'].values())[0] 243 devs = json.loads(stdout)['dev']
|
| /linux/tools/cgroup/ |
| A D | iocost_monitor.py | 15 import json 199 table_fmt = not args.json 203 if args.json: 249 output += json.dumps(iocstat.dict(now)) 266 output += '\n' + json.dumps(iocg_stat.dict(now, path))
|
| A D | iocost_coef_gen.py | 23 import json 103 d = json.loads(f.read())
|
| /linux/tools/testing/kunit/ |
| A D | kunit.py | 194 if request.json: 199 json_path=request.json) 200 if request.json == 'stdout': 232 request.json) 413 cli_args.json, 472 cli_args.json) 487 cli_args.json)
|
| A D | kunit_json.py | 9 import json 55 json_obj = json.dumps(test_group, indent=4)
|
| /linux/scripts/clang-tools/ |
| A D | run-clang-tools.py | 13 import json 69 datastore = json.load(f)
|
| A D | gen_compile_commands.py | 11 import json 241 json.dump(compile_commands, f, indent=2, sort_keys=True)
|
| /linux/tools/perf/scripts/python/ |
| A D | flamegraph.py | 26 import json 121 stacks_json = json.dumps(self.stack, default=lambda x: x.to_json()) 129 options_json = json.dumps(options)
|
| /linux/tools/testing/selftests/tc-testing/creating-testcases/ |
| A D | AddingTestCases.txt | 10 template.json for the required JSON format for test cases. 16 directories named with the -D option) for .json files. Any test case 23 when defining the match pattern. Refer to the supplied json test files 24 for examples when in doubt. The match pattern is written in json, and 26 expression, but should be written using json syntax.
|
| /linux/Documentation/networking/devlink/ |
| A D | iosm.rst | 108 * - ``report.json`` 128 $ devlink region new pci/0000:02:00.0/report.json 130 $ devlink region dump pci/0000:02:00.0/report.json snapshot 0 132 $ devlink region del pci/0000:02:00.0/report.json snapshot 0
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| A D | sharedbuffer_configuration.py | 5 import json as j 121 def run_cmd(cmd, json=False): argument 123 if json: 129 return run_cmd(cmd, json=True)
|
| /linux/tools/bpf/bpftool/Documentation/ |
| A D | bpftool-link.rst | 15 *OPTIONS* := { { **-j** | **--json** } [{ **-p** | **--pretty** }] | { **-d** | **--debug** } | 86 **# bpftool --json --pretty link show**
|
| A D | common_options.rst | 12 -j, --json
|
| /linux/ |
| A D | Makefile | 650 ifneq ($(filter all modules nsdeps %compile_commands.json clang-%,$(MAKECMDGOALS)),) 1498 compile_commands.json .thinlto-cache 1721 compile_commands.json: $(extmod_prefix)compile_commands.json 1722 PHONY += compile_commands.json 1726 $(KBUILD_EXTMOD)/compile_commands.json $(KBUILD_EXTMOD)/.thinlto-cache 1895 $(extmod_prefix)compile_commands.json: scripts/clang-tools/gen_compile_commands.py \ 1900 targets += $(extmod_prefix)compile_commands.json 1908 clang-tidy clang-analyzer: $(extmod_prefix)compile_commands.json
|
| /linux/tools/testing/selftests/tc-testing/ |
| A D | tdc.py | 15 import json 436 testlist = json.load(test_data, object_pairs_hook=OrderedDict) 437 except json.JSONDecodeError as jde: 586 json.dump(testlist, outfile, indent=4)
|