/linux-master/ |
H A D | Makefile | 721 ifneq ($(filter all modules nsdeps %compile_commands.json clang-%,$(MAKECMDGOALS)),) 1480 compile_commands.json .thinlto-cache rust/test \ 1481 rust-project.json .vmlinux.objs .vmlinux.export.c 1619 @echo ' rust-analyzer - Generate rust-project.json rust-analyzer support file' 1781 compile_commands.json: $(extmod_prefix)compile_commands.json 1782 PHONY += compile_commands.json 1786 $(KBUILD_EXTMOD)/compile_commands.json $(KBUILD_EXTMOD)/.thinlto-cache 1806 @echo ' rust-analyzer - generate rust-project.json rust-analyzer support file' 1974 $(extmod_prefix)compile_commands.json [all...] |
/linux-master/rust/ |
H A D | Makefile | 418 $(if $(KBUILD_EXTMOD),$(extmod_prefix),$(objtree))/rust-project.json 440 $(obj)/core.o: scripts/target.json
|
/linux-master/arch/x86/ |
H A D | Makefile | 74 KBUILD_RUSTFLAGS += --target=$(objtree)/scripts/target.json
|
/linux-master/scripts/ |
H A D | Makefile.lib | 417 DT_TMP_SCHEMA := $(objtree)/$(DT_BINDING_DIR)/processed-schema.json
|
H A D | Makefile | 16 always-$(CONFIG_RUST) += target.json 19 $(obj)/target.json: scripts/generate_rust_target include/config/auto.conf FORCE
|
/linux-master/arch/loongarch/ |
H A D | Makefile | 104 KBUILD_RUSTFLAGS += --target=$(objtree)/scripts/target.json
|
/linux-master/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
|
/linux-master/tools/perf/tests/shell/ |
H A D | stat_metrics_values.sh | 12 rulefile=$(dirname $0)/lib/perf_metric_validation_rules.json
|
H A D | stat+json_output.sh | 16 stat_output=$(mktemp /tmp/__perf_test.stat_output.json.XXXXX) 38 echo -n "Checking json output: no args " 46 echo -n "Checking json output: system wide " 59 echo -n "Checking json output: system wide no aggregation " 72 echo -n "Checking json output: interval " 81 echo -n "Checking json output: event " 89 echo -n "Checking json output: per core " 102 echo -n "Checking json output: per thread " 115 echo -n "Checking json output: per cache_instance " 127 echo -n "Checking json outpu [all...] |
H A D | list.sh | 11 list_output=$(mktemp /tmp/__perf_test.list_output.json.XXXXX) 28 $PYTHON -m json.tool "${list_output}"
|
H A D | test_perf_data_converter_json.sh | 2 # 'perf data convert --to-json' command test 14 result=$(mktemp /tmp/__perf_test.output.json.XXXXX) 34 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1 48 if $PYTHON -c "import json; json.load(open('$result'))" >/dev/null 2>&1 ; then
|
/linux-master/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 4 import json namespace 79 data = json.loads(f.read()) 92 json.dump(data, 366 result = json.loads(json_string) 438 data = json.loads(cmd.stdout) 577 reportf = Path.joinpath(outpath, 'perf_report.json') 578 fullrule = Path.joinpath(outpath, 'full_rule.json') 579 datafile = Path.joinpath(outpath, 'perf_data.json')
|
H A D | perf_json_output_lint.py | 7 import json namespace 68 for item in json.loads(input):
|
/linux-master/tools/perf/pmu-events/ |
H A D | jevents.py | 7 import json namespace 27 # JsonEvent. Architecture standard events are in json files in the top 199 """Representation of an event loaded from a json file dictionary.""" 202 """Constructor passed the dictionary of parsed json values.""" 437 """Read json events from the specified file.""" 439 events = json.load(open(path), object_hook=JsonEvent) 462 if item.is_file() and item.name.endswith('.json'): 591 if topic.endswith('metrics.json'): 593 return removesuffix(topic, '.json').replace('-', ' ') 605 # Ignore other directories. If the file name does not have a .json [all...] |
/linux-master/tools/perf/ |
H A D | builtin-list.c | 509 bool json = false; local 512 OPT_BOOLEAN('j', "json", &json, "JSON encode events and metrics"), 556 if (json) {
|
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 15 import json namespace 274 outputJSON = json.loads(procout) 275 except json.JSONDecodeError: 280 matchJSON = json.loads(json.dumps(tidx['matchJSON'])) 341 failmsg = 'Key not found in json output: {}: {}\nMatching against output: {}' 662 testlist = json.load(test_data, object_pairs_hook=OrderedDict) 663 except json.JSONDecodeError as jde: 816 json.dump(testlist, outfile, indent=4) 858 Otherwise, glob for all json file [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | lib.sh | 94 # Old versions of tc produce invalid json output for mpls lse statistics 115 echo "SKIP: iproute2 too old; tc-flower produces invalid json output for extended MPLS filters" 188 [ 0 -ne $(ethtool --json -S $dev --all-groups --src pmac 2>/dev/null \ 860 ethtool --json -S $dev --groups $grp -- --src $src | \
|
H A D | ethtool_mm.sh | 63 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 67 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 98 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 102 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 136 ethtool --json --show-mm $tx | jq -r '.[]."verify-status"' | \ 140 ethtool --json --show-mm $tx | jq -r '.[]."tx-active"' | grep -q 'true' 167 rx_min_frag_size=$(ethtool --json --show-mm $iface | \
|
H A D | ethtool_rmon.sh | 47 before=$(ethtool --json -S $iface --groups rmon | \ 55 after=$(ethtool --json -S $iface --groups rmon | \ 92 done < <(ethtool --json -S $iface --groups rmon | \
|
/linux-master/tools/testing/selftests/drivers/net/netdevsim/ |
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-master/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 682 { "json-summary", ARG_JSON_SUMMARY, "FILE", 0, "Write report in json format to this file."}, 883 env->json = fopen(arg, "w"); 884 if (env->json == NULL) { 885 perror("Failed to open json summary file"); 1345 if (env->json) { 1346 w = jsonw_new(env->json); 1387 if (env->json) 1388 fclose(env->json);
|
H A D | test_progs.h | 117 FILE *json; member in struct:test_env
|
H A D | test_offload.py | 20 import json namespace 146 params += "%s " % (flags["json"]) 159 out = json.loads(stdout) 169 return tool("bpftool", args, {"json":"-p"}, JSON=JSON, ns=ns, 230 return tool("ip", args, {"json":"-j"}, JSON=JSON, ns=ns, 234 return tool("tc", args, {"json":"-p"}, JSON=JSON, ns=ns,
|
/linux-master/tools/net/ynl/ |
H A D | cli.py | 5 import json namespace 12 class YnlEncoder(json.JSONEncoder): 18 return json.JSONEncoder.default(self, obj) 26 parser.add_argument('--json', dest='json_text', type=str) 40 parser.add_argument('--output-json', action='store_true') 47 print(json.dumps(msg, cls=YnlEncoder)) 56 attrs = json.loads(args.json_text)
|
/linux-master/scripts/clang-tools/ |
H A D | gen_compile_commands.py | 8 """A tool for generating compile_commands.json in the Linux kernel.""" 11 import json namespace 18 _DEFAULT_OUTPUT = 'compile_commands.json' 38 usage = 'Creates a compile_commands.json database from kernel .cmd files' 157 used directly in the "directory" entry in compile_commands.json. 171 # kernel version). The compile_commands.json file is not interepreted 224 json.dump(sorted(compile_commands, key=lambda x: x["file"]), f, indent=2, sort_keys=True)
|