Home
last modified time | relevance | path

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

1234

/tools/testing/selftests/drivers/net/netdevsim/
A 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')
A Dethtool-fec.sh73 $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[]')
A Dethtool-features.sh18 s=$(ethtool --json -k $NSIM_NETDEV | jq ".[].\"$feat\".active" 2>/dev/null)
21 s=$(ethtool --json -k $NSIM_NETDEV | jq ".[].\"$feat\".fixed" 2>/dev/null)
/tools/testing/selftests/net/lib/py/
A Dutils.py4 import json as _json
169 if json:
173 if json:
178 def bpftool(args, json=None, ns=None, host=None): argument
179 return tool('bpftool', args, json=json, ns=ns, host=host)
182 def ip(args, json=None, ns=None, host=None): argument
185 return tool('ip', args, json=json, host=host)
188 def ethtool(args, json=None, ns=None, host=None): argument
189 return tool('ethtool', args, json=json, ns=ns, host=host)
204 if json:
[all …]
/tools/testing/selftests/bpf/
A 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)
A 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
/tools/perf/tests/shell/
A Dlist.sh11 list_output=$(mktemp /tmp/__perf_test.list_output.json.XXXXX)
31 $PYTHON -m json.tool "${list_output}" /dev/null
A Dtest_perf_data_converter_json.sh14 result=$(mktemp /tmp/__perf_test.output.json.XXXXX)
34 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1
/tools/testing/selftests/drivers/net/hw/
A 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']
A Dethtool_mm.sh64 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 | \
A Dethtool_rmon.sh49 before=$(ethtool --json -S $iface --groups rmon | \
57 after=$(ethtool --json -S $iface --groups rmon | \
94 done < <(ethtool --json -S $iface --groups rmon | \
/tools/net/ynl/pyynl/
A Dcli.py5 import json
33 class YnlEncoder(json.JSONEncoder):
39 return json.JSONEncoder.default(self, obj)
95 print(json.dumps(msg, cls=YnlEncoder))
110 attrs = json.loads(args.json_text)
146 ops = [ (item[0], json.loads(item[1]), args.flags or []) for item in args.multi ]
/tools/perf/pmu-events/
A 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.
/tools/testing/kunit/
A Dkunit_json.py10 import json
73 return json.dumps(test_group, indent=4)
/tools/perf/pmu-events/arch/riscv/sifive/bullet-0d/
A Dwatchpoint.json1 ../bullet-07/watchpoint.json
A Dfirmware.json1 ../bullet/firmware.json
A Dinstruction.json1 ../bullet/instruction.json
/tools/perf/pmu-events/arch/riscv/sifive/p550/
A Dfirmware.json1 ../bullet/firmware.json
A Dinstruction.json1 ../bullet/instruction.json
A Dmicroarch.json1 ../bullet/microarch.json
/tools/perf/pmu-events/arch/riscv/sifive/p650/
A Dfirmware.json1 ../bullet/firmware.json
A Dinstruction.json1 ../bullet/instruction.json
/tools/perf/pmu-events/arch/riscv/sifive/bullet-07/
A Dfirmware.json1 ../bullet/firmware.json
A Dinstruction.json1 ../bullet/instruction.json
A Dmemory.json1 ../bullet/memory.json

Completed in 24 milliseconds

1234