/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H 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')
|
H A D | ethtool-fec.sh | 73 $ETHTOOL --json --show-fec $NSIM_NETDEV | jq empty >>/dev/null 2>&1 78 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].config[]') 80 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].active[]') 86 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].config[]') 89 s=$($ETHTOOL --json --show-fec $NSIM_NETDEV | jq '.[].active[]')
|
/linux/tools/testing/selftests/bpf/ |
H 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)
|
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
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | devlink_port_split.py | 5 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']
|
H A D | ethtool_mm.sh | 64 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 68 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 99 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 103 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 137 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 141 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 168 rx_min_frag_size=$(ethtool --json --show-mm $iface | \
|
H A D | ethtool_rmon.sh | 49 before=$(ethtool --json -S $iface --groups rmon | \ 57 after=$(ethtool --json -S $iface --groups rmon | \ 94 done < <(ethtool --json -S $iface --groups rmon | \
|
/linux/tools/perf/pmu-events/ |
H 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.
|
H A D | Build | 4 find $(JDIR) -name '*.json' -o -name 'mapfile.csv') 7 find $(JDIR_TEST) -name '*.json')
|
/linux/tools/perf/tests/shell/ |
H A D | test_perf_data_converter_json.sh | 14 result=$(mktemp /tmp/__perf_test.output.json.XXXXX) 34 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1
|
/linux/tools/testing/selftests/drivers/net/hw/lib/py/ |
H A D | linkconfig.py | 8 import json 28 partner_json_output = ip("addr show", json=True, host=self.cfg.remote) 199 process = ethtool(self.cfg.ifname, json=True) 213 process = ethtool(self.partner_netif, json=True, host=self.cfg.remote)
|
/linux/tools/cgroup/ |
H A D | iocost_monitor.py | 15 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/tools/testing/kunit/ |
H A D | kunit_json.py | 10 import json 63 return json.dumps(test_group, indent=4)
|
/linux/tools/testing/selftests/tc-testing/creating-testcases/ |
H 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/tools/perf/scripts/python/ |
H A D | flamegraph.py | 25 import json 133 stacks_json = json.dumps(self.stack, default=lambda x: x.to_json()) 141 options_json = json.dumps(options)
|
H A D | gecko.py | 19 import json 340 json.dump(gecko_profile_with_meta, f, indent=2) 347 json.dump(gecko_profile_with_meta, f, indent=2)
|
/linux/scripts/clang-tools/ |
H A D | run-clang-tools.py | 13 import json 89 datastore = json.load(f)
|
H A D | gen_compile_commands.py | 11 import json 224 json.dump(sorted(compile_commands, key=lambda x: x["file"]), f, indent=2, sort_keys=True)
|
/linux/Documentation/networking/devlink/ |
H 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/ |
H 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/workqueue/ |
H A D | wq_monitor.py | 38 import json 131 table_fmt = not args.json
|
/linux/tools/testing/selftests/net/lib/py/ |
H A D | nsim.py | 4 import json 31 self.dev = json.loads(ret.stdout)[0]
|
/linux/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 15 import json 273 outputJSON = json.loads(procout) 274 except json.JSONDecodeError: 279 matchJSON = json.loads(json.dumps(tidx['matchJSON'])) 661 testlist = json.load(test_data, object_pairs_hook=OrderedDict) 662 except json.JSONDecodeError as jde: 815 json.dump(testlist, outfile, indent=4)
|
/linux/tools/bpf/bpftool/Documentation/ |
H A D | substitutions.rst | 3 .. |COMMON_OPTIONS| replace:: { **-j** | **--json** } [{ **-p** | **--pretty** }] | { **-d** | **--…
|
/linux/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 4 import json 79 data = json.loads(f.read()) 92 json.dump(data, 369 result = json.loads(json_string) 441 data = json.loads(cmd.stdout)
|