Home
last modified time | relevance | path

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

12

/Linux-v5.10/Documentation/devicetree/bindings/
DMakefile23 DT_TMP_SCHEMA := $(obj)/processed-schema-examples.json
58 $(obj)/processed-schema-examples.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
66 $(obj)/processed-schema.json: $(obj)/processed-schema-examples.json FORCE
75 $(obj)/processed-schema.json: DT_MK_SCHEMA_FLAGS := -u
76 $(obj)/processed-schema.json: $(DT_SCHEMA_FILES) check_dtschema_version FORCE
81 extra-$(CHECK_DT_BINDING) += processed-schema-examples.json
82 extra-$(CHECK_DTBS) += processed-schema.json
D.gitignore4 processed-schema*.json
/Linux-v5.10/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-pause.sh78 s=$(ethtool --json -a $NSIM_NETDEV | jq '.[].statistics')
81 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics')
86 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length')
89 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames')
94 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics | length')
97 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.rx_pause_frames')
99 s=$(ethtool -I --json -a $NSIM_NETDEV | jq '.[].statistics.tx_pause_frames')
/Linux-v5.10/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.sh64 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null
76 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null
Dtest_tc_redirect.sh193 progs=$(ip netns exec ${NS_FWD} bpftool net --json | jq -r '.[] | .tc | map(.id) | .[]')
195 map=$(bpftool prog show id $prog --json | jq -r '.map_ids | .? | .[]')
/Linux-v5.10/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.
DBuild3 jevents-y += json.o jsmn.o jevents.o
8 find $(JDIR) -name '*.json' -o -name 'mapfile.csv')
/Linux-v5.10/tools/testing/selftests/net/
Ddevlink_port_split.py5 import json
58 ports = json.loads(stdout)['port']
80 values = list(json.loads(stdout)['port'].values())[0]
98 values = list(json.loads(stdout)['port'].values())[0]
241 devs = json.loads(stdout)['dev']
/Linux-v5.10/Documentation/devicetree/
Dwriting-schema.rst3 Writing DeviceTree Bindings in json-schema
6 Devicetree bindings are written using json-schema vocabulary. Schema files are
14 Each schema doc is a structured json-schema which is defined by a set of
16 top-level json-schema properties used are:
19 A json-schema unique identifier string. The string must be a valid
45 Optional. A json-schema used to match nodes for applying the
81 binding. Each property contains a set of constraints using json-schema
98 The default for arrays in json-schema is they are variable sized and allow more
139 schema for the schema) to ensure they are both valid json-schema and valid
166 json-schema Resources
[all …]
/Linux-v5.10/tools/testing/kunit/
Dkunit.py117 if request.json:
122 json_path=request.json)
123 if request.json == 'stdout':
160 request.json)
269 cli_args.json,
324 cli_args.json)
340 cli_args.json)
Dkunit_json.py9 import json
55 json_obj = json.dumps(test_group, indent=4)
/Linux-v5.10/tools/cgroup/
Diocost_monitor.py15 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))
Diocost_coef_gen.py23 import json
103 d = json.loads(f.read())
/Linux-v5.10/scripts/clang-tools/
Drun-clang-tools.py13 import json
69 datastore = json.load(f)
Dgen_compile_commands.py11 import json
232 json.dump(compile_commands, f, indent=2, sort_keys=True)
/Linux-v5.10/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-v5.10/tools/perf/scripts/python/
Dflamegraph.py22 import json
81 json_str = json.dumps(self.stack, default=lambda x: x.toJSON())
/Linux-v5.10/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-v5.10/tools/bpf/bpftool/Documentation/
Dbpftool-link.rst15 *OPTIONS* := { { **-j** | **--json** } [{ **-p** | **--pretty** }] | { **-f** | **--bpffs** } }
85 **# bpftool --json --pretty link show**
Dcommon_options.rst12 -j, --json
Dbpftool.rst22 | { **-j** | **--json** } [{ **-p** | **--pretty** }] }
Dbpftool-perf.rst15 *OPTIONS* := { [{ **-j** | **--json** }] [{ **-p** | **--pretty** }] }
/Linux-v5.10/
DMakefile633 ifneq ($(filter all modules nsdeps %compile_commands.json clang-%,$(MAKECMDGOALS)),)
1472 compile_commands.json
1727 compile_commands.json: $(extmod-prefix)compile_commands.json
1728 PHONY += compile_commands.json
1732 $(KBUILD_EXTMOD)/compile_commands.json
1853 $(extmod-prefix)compile_commands.json: scripts/clang-tools/gen_compile_commands.py \
1858 targets += $(extmod-prefix)compile_commands.json
1866 clang-tidy clang-analyzer: $(extmod-prefix)compile_commands.json
/Linux-v5.10/tools/testing/selftests/tc-testing/
Dtdc.py15 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)

12