Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v6.6/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-pause.sh19 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')
Dethtool-fec.sh69 $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-v6.6/tools/testing/selftests/bpf/
Dtest_bpftool.py6 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)
Dtest_bpftool_metadata.sh67 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null
79 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null
/Linux-v6.6/tools/testing/selftests/net/
Ddevlink_port_split.py5 import json
60 ports = json.loads(stdout)['port']
84 values = list(json.loads(stdout)['port'].values())[0]
102 values = list(json.loads(stdout)['port'].values())[0]
266 validate_devlink_output(json.loads(stdout))
267 devs = json.loads(stdout)['dev']
/Linux-v6.6/tools/perf/pmu-events/
DREADME11 - 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.
DBuild4 find $(JDIR) -name '*.json' -o -name 'mapfile.csv')
7 find $(JDIR_TEST) -name '*.json')
/Linux-v6.6/Documentation/devicetree/bindings/
Dwriting-schema.rst3 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
143 schema for the schema) to ensure they are both valid json-schema and valid
171 json-schema Resources
[all …]
DMakefile67 $(obj)/processed-schema.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
70 always-y += processed-schema.json
79 dt_compatible_check: $(obj)/processed-schema.json
/Linux-v6.6/tools/testing/selftests/net/forwarding/
Dethtool_mm.sh59 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
63 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
94 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
98 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
132 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \
136 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true'
/Linux-v6.6/tools/testing/kunit/
Dkunit.py51 json: Optional[str]
243 if request.json:
247 if request.json == 'stdout':
250 with open(request.json, 'w') as f:
253 os.path.abspath(request.json))
450 json=cli_args.json,
497 json=cli_args.json,
523 json=cli_args.json)
Dkunit_json.py10 import json
63 return json.dumps(test_group, indent=4)
/Linux-v6.6/tools/perf/tests/shell/
Dtest_perf_data_converter_json.sh21 result=$(mktemp /tmp/__perf_test.output.json.XXXXX)
41 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1
/Linux-v6.6/tools/cgroup/
Diocost_monitor.py15 import json
206 table_fmt = not args.json
210 if args.json:
256 output += json.dumps(iocstat.dict(now))
273 output += '\n' + json.dumps(iocg_stat.dict(now, path))
/Linux-v6.6/scripts/clang-tools/
Drun-clang-tools.py13 import json
71 datastore = json.load(f)
/Linux-v6.6/scripts/
DMakefile14 always-$(CONFIG_RUST) += target.json
18 $(obj)/target.json: scripts/generate_rust_target include/config/auto.conf FORCE
Dgenerate_rust_analyzer.py7 import json
162 json.dump(rust_project, sys.stdout, sort_keys=True, indent=4)
/Linux-v6.6/tools/net/ynl/
Dcli.py5 import json
37 attrs = json.loads(args.json_text)
/Linux-v6.6/tools/perf/scripts/python/
Dflamegraph.py25 import json
133 stacks_json = json.dumps(self.stack, default=lambda x: x.to_json())
141 options_json = json.dumps(options)
/Linux-v6.6/tools/testing/selftests/tc-testing/creating-testcases/
DAddingTestCases.txt10 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-v6.6/tools/perf/tests/shell/lib/
Dperf_json_output_lint.py7 import json
66 for item in json.loads(input):
Dperf_metric_validation.py4 import json
54 data = json.loads(f.read())
67 json.dump(data,
322 json_str = json.dumps(alldata, indent=4)
351 result =json.loads(json_string)
417 data = json.loads(cmd.stdout)
/Linux-v6.6/Documentation/networking/devlink/
Diosm.rst108 * - ``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-v6.6/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer_configuration.py5 import json as j
121 def run_cmd(cmd, json=False): argument
123 if json:
129 return run_cmd(cmd, json=True)
/Linux-v6.6/tools/testing/selftests/tc-testing/
Dtdc.py15 import json
251 outputJSON = json.loads(procout)
252 except json.JSONDecodeError:
257 matchJSON = json.loads(json.dumps(tidx['matchJSON']))
560 testlist = json.load(test_data, object_pairs_hook=OrderedDict)
561 except json.JSONDecodeError as jde:
710 json.dump(testlist, outfile, indent=4)

123