/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ |
H A D | Makefile | 23 DT_TMP_SCHEMA := $(obj)/processed-schema-examples.json 58 $(obj)/processed-schema-examples.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE 64 # Just copy processed-schema-examples.json 66 $(obj)/processed-schema.json: $(obj)/processed-schema-examples.json FORCE 73 # If DT_SCHEMA_FILES is specified, use it for processed-schema.json 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 [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | ethtool-pause.sh | 78 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')
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_bpftool.py | 6 import json namespace 28 def _bpftool(args, json=True): 30 if json: 38 return _bpftool(args, json=False).decode("utf-8") 43 return json.loads(res)
|
H 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
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_bpftool.py | 6 import json namespace 28 def _bpftool(args, json=True): 30 if json: 38 return _bpftool(args, json=False).decode("utf-8") 43 return json.loads(res)
|
H A D | test_bpftool_metadata.sh | 67 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null 79 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | devlink_port_split.py | 5 import json namespace 58 ports = json.loads(stdout)['port'] 82 values = list(json.loads(stdout)['port'].values())[0] 100 values = list(json.loads(stdout)['port'].values())[0] 264 validate_devlink_output(json.loads(stdout)) 265 devs = json.loads(stdout)['dev']
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | devlink_port_split.py | 5 import json namespace 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']
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit.py | 33 ['raw_output', 'input_data', 'build_dir', 'json']) 35 'build_dir', 'alltests', 'json', 117 if request.json: 122 json_path=request.json) 123 if request.json == 'stdout': 160 request.json) 204 parser.add_argument('--json', 269 cli_args.json, 324 cli_args.json) 340 cli_args.json) [all...] |
H A D | kunit_json.py | 9 import json namespace 55 json_obj = json.dumps(test_group, indent=4)
|
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit.py | 51 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)) 286 # $ kunit.py run --json 288 # $ kunit.py run --json suite_name 289 # would *not* pass suite_name as the filter_glob and print as json. 291 # $ kunit.py run --json=suite_name 292 # i.e. it would run all tests, and dump the json t [all...] |
H A D | kunit_json.py | 10 import json namespace 63 return json.dumps(test_group, indent=4)
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_mm.sh | 59 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'
|
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/ |
H A D | Makefile | 67 $(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
|
/kernel/linux/linux-5.10/tools/cgroup/ |
H A D | iocost_monitor.py | 15 import json namespace 33 parser.add_argument('--json', action='store_true', 34 help='Output in 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))
|
/kernel/linux/linux-6.6/tools/cgroup/ |
H A D | iocost_monitor.py | 15 import json namespace 33 parser.add_argument('--json', action='store_true', 34 help='Output in 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))
|
/kernel/linux/linux-5.10/scripts/clang-tools/ |
H A D | run-clang-tools.py | 9 compile_commands.json. 13 import json namespace 70 datastore = json.load(f)
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | test_perf_data_converter_json.sh | 2 # 'perf data convert --to-json' command test 21 result=$(mktemp /tmp/__perf_test.output.json.XXXXX) 41 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1 55 if $PYTHON -c "import json; json.load(open('$result'))" >/dev/null 2>&1 ; then
|
/kernel/linux/linux-6.6/tools/net/ynl/ |
H A D | cli.py | 5 import json namespace 17 parser.add_argument('--json', dest='json_text', type=str) 37 attrs = json.loads(args.json_text)
|
/kernel/linux/linux-6.6/scripts/clang-tools/ |
H A D | run-clang-tools.py | 9 compile_commands.json. 13 import json namespace 71 datastore = json.load(f)
|
/kernel/linux/linux-6.6/scripts/ |
H A D | Makefile | 14 always-$(CONFIG_RUST) += target.json 18 $(obj)/target.json: scripts/generate_rust_target include/config/auto.conf FORCE
|
H A D | generate_rust_analyzer.py | 3 """generate_rust_analyzer - Generates the `rust-project.json` file for `rust-analyzer`. 7 import json namespace 162 json.dump(rust_project, sys.stdout, sort_keys=True, indent=4)
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | flamegraph.py | 25 import json namespace 133 stacks_json = json.dumps(self.stack, default=lambda x: x.to_json()) 141 options_json = json.dumps(options) 203 output_fn = self.args.output or "stacks.json" 221 default="html", choices=["json", "html"],
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | flamegraph.py | 22 import json namespace 81 json_str = json.dumps(self.stack, default=lambda x: x.toJSON()) 94 output_fn = self.args.output or "stacks.json" 112 default="html", choices=["json", "html"],
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
H A D | perf_json_output_lint.py | 7 import json namespace 66 for item in json.loads(input):
|