Home
last modified time | relevance | path

Searched refs:script (Results 1 - 25 of 115) sorted by relevance

12345

/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dtest_brstack.sh27 perf script -i $TMPDIR/perf.data --fields brstacksym | xargs -n1 > $TMPDIR/perf.script
33 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/IND_CALL/.*$" $TMPDIR/perf.script
34 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
35 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
36 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
37 grep -E -m1 "^brstack_bar\+[^ ]*/brstack_foo\+[^ ]*/RET/.*$" $TMPDIR/perf.script
38 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bench\+[^ ]*/RET/.*$" $TMPDIR/perf.script
39 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bench\+[^ ]*/COND/.*$" $TMPDIR/perf.script
40 grep -E -m1 "^brstack\+[^ ]*/brstack\+[^ ]*/UNCOND/.*$" $TMPDIR/perf.script
[all...]
H A Dtest_task_analyzer.sh2 # perf script task-analyzer tests
5 tmpdir=$(mktemp -d /tmp/perf-script-task-analyzer-XXXXX)
72 perf script report task-analyzer > "$out"
73 check_exec_0 "perf script report task-analyzer"
79 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
80 check_exec_0 "perf script report task-analyzer --ns --rename-comms-by-tids 0:random"
86 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
88 check_exec_0 "perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf"
94 perf script report task-analyzer --extended-times --time-limit :99999 \
96 check_exec_0 "perf script repor
[all...]
H A Dtest_intel_pt.sh116 mmap_cnt=$(perf script -i "${perfdatafile}" --no-itrace --show-mmap-events -C 1 2>/dev/null | grep -c MMAP)
414 decode_br_cnt=$(perf script -i "${perfdatafile}" --itrace=b | wc -l)
416 decode_err_cnt=$(perf script -i "${perfdatafile}" --itrace=e-o-l | grep -ci error)
426 perf script -i "${perfdatafile}" --itrace=e-o-l --show-mmap-events | cat
440 mtc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "MTC 0x")
446 tsc_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TSC 0x")
461 tnt_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TNT 0x")
462 tip_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "TIP 0x")
463 fup_cnt=$(perf script -i "${perfdatafile}" -D 2>/dev/null | grep -c "FUP 0x")
484 cyc_cnt=$(perf script
[all...]
H A Dtest_arm_callgraph_fp.sh29 # expected perf-script output:
37 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4
38 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4 | \
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-script.c331 return fprintf(fp, "[ perf script: Wrote %.3f MB %s (%" PRIu64 " samples) ]\n", in evsel_script__fprintf()
630 tod_scnprintf(struct perf_script *script, char *buf, int buflen, in tod_scnprintf() argument
641 if (buflen < 64 || !script) in tod_scnprintf()
644 env = &script->session->header.env; in tod_scnprintf()
691 static int perf_sample__fprintf_start(struct perf_script *script, in perf_sample__fprintf_start() argument
773 tod_scnprintf(script, tstr, sizeof(tstr), sample->time); in perf_sample__fprintf_start()
1828 static void perf_sample__fprint_metric(struct perf_script *script, in perf_sample__fprint_metric() argument
1849 perf_evlist__alloc_stats(script->session->evlist, false); in perf_sample__fprint_metric()
1912 static void process_event(struct perf_script *script, in process_event() argument
1929 if (evswitch__discard(&script in process_event()
2224 struct perf_script *script = container_of(tool, struct perf_script, tool); print_event_with_time() local
2351 struct perf_script *script = container_of(tool, struct perf_script, tool); process_switch_event() local
2416 perf_script__fclose_per_event_dump(struct perf_script *script) perf_script__fclose_per_event_dump() argument
2429 perf_script__fopen_per_event_dump(struct perf_script *script) perf_script__fopen_per_event_dump() argument
2456 perf_script__setup_per_event_dump(struct perf_script *script) perf_script__setup_per_event_dump() argument
2471 perf_script__exit_per_event_dump_stats(struct perf_script *script) perf_script__exit_per_event_dump_stats() argument
2484 perf_script__exit(struct perf_script *script) perf_script__exit() argument
2490 __cmd_script(struct perf_script *script) __cmd_script() argument
2625 const char *script, *ext; parse_scriptname() local
3258 script__setup_sample_type(struct perf_script *script) script__setup_sample_type() argument
3303 set_maps(struct perf_script *script) set_maps() argument
3327 struct perf_script *script = container_of(tool, struct perf_script, tool); process_thread_map_event() local
3346 struct perf_script *script = container_of(tool, struct perf_script, tool); process_cpu_map_event() local
3377 struct perf_script *script = container_of(tool, struct perf_script, tool); perf_script__process_auxtrace_info() local
3447 struct perf_script script = { cmd_script() local
[all...]
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dunwind.c14 * They are cached for later re-use. Each script is specific for a
16 * that the script depends on (most unwind descriptors are
24 * o each unwind script has its own read-write lock; a thread must acquire
25 * a read lock before executing a script and must acquire a write lock
26 * before modifying a script
27 * o if both the unw.lock spinlock and a script's read-write lock must be
98 unsigned short lru_head; /* index of lead-recently used script */
99 unsigned short lru_tail; /* index of most-recently used script */
113 /* hash table that maps instruction pointer to script index: */
116 /* script cach
138 } script; global() member
1214 cache_match(struct unw_script *script, unsigned long ip, unsigned long pr) cache_match() argument
1227 struct unw_script *script = unw.cache + info->hint; script_lookup() local
1269 struct unw_script *script, *prev, *tmp; script_new() local
1333 script_finalize(struct unw_script *script, struct unw_state_record *sr) script_finalize() argument
1346 script_emit(struct unw_script *script, struct unw_insn insn) script_emit() argument
1357 emit_nat_info(struct unw_state_record *sr, int i, struct unw_script *script) emit_nat_info() argument
1402 compile_reg(struct unw_state_record *sr, int i, struct unw_script *script) compile_reg() argument
1530 struct unw_script *script = NULL; build_script() local
1720 run_script(struct unw_script *script, struct unw_frame_info *state) run_script() argument
[all...]
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dunwind.c14 * They are cached for later re-use. Each script is specific for a
16 * that the script depends on (most unwind descriptors are
24 * o each unwind script has its own read-write lock; a thread must acquire
25 * a read lock before executing a script and must acquire a write lock
26 * before modifying a script
27 * o if both the unw.lock spinlock and a script's read-write lock must be
98 unsigned short lru_head; /* index of lead-recently used script */
99 unsigned short lru_tail; /* index of most-recently used script */
113 /* hash table that maps instruction pointer to script index: */
116 /* script cach
138 } script; global() member
1214 cache_match(struct unw_script *script, unsigned long ip, unsigned long pr) cache_match() argument
1227 struct unw_script *script = unw.cache + info->hint; script_lookup() local
1269 struct unw_script *script, *prev, *tmp; script_new() local
1333 script_finalize(struct unw_script *script, struct unw_state_record *sr) script_finalize() argument
1346 script_emit(struct unw_script *script, struct unw_insn insn) script_emit() argument
1357 emit_nat_info(struct unw_state_record *sr, int i, struct unw_script *script) emit_nat_info() argument
1402 compile_reg(struct unw_state_record *sr, int i, struct unw_script *script) compile_reg() argument
1530 struct unw_script *script = NULL; build_script() local
1720 run_script(struct unw_script *script, struct unw_frame_info *state) run_script() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-script.c374 return fprintf(fp, "[ perf script: Wrote %.3f MB %s (%" PRIu64 " samples) ]\n", in evsel_script__fprintf()
712 tod_scnprintf(struct perf_script *script, char *buf, int buflen, in tod_scnprintf() argument
723 if (buflen < 64 || !script) in tod_scnprintf()
726 env = &script->session->header.env; in tod_scnprintf()
773 static int perf_sample__fprintf_start(struct perf_script *script, in perf_sample__fprintf_start() argument
862 tod_scnprintf(script, tstr, sizeof(tstr), sample->time); in perf_sample__fprintf_start()
2056 static void perf_sample__fprint_metric(struct perf_script *script, in perf_sample__fprint_metric() argument
2078 evlist__alloc_stats(&stat_config, script->session->evlist, /*alloc_raw=*/false); in perf_sample__fprint_metric()
2137 static void process_event(struct perf_script *script, in process_event() argument
2156 perf_sample__fprintf_start(script, sampl in process_event()
2507 struct perf_script *script = container_of(tool, struct perf_script, tool); print_event_with_time() local
2634 struct perf_script *script = container_of(tool, struct perf_script, tool); process_switch_event() local
2721 perf_script__fclose_per_event_dump(struct perf_script *script) perf_script__fclose_per_event_dump() argument
2734 perf_script__fopen_per_event_dump(struct perf_script *script) perf_script__fopen_per_event_dump() argument
2761 perf_script__setup_per_event_dump(struct perf_script *script) perf_script__setup_per_event_dump() argument
2776 perf_script__exit_per_event_dump_stats(struct perf_script *script) perf_script__exit_per_event_dump_stats() argument
2789 perf_script__exit(struct perf_script *script) perf_script__exit() argument
2795 __cmd_script(struct perf_script *script) __cmd_script() argument
2927 find_script(const char *script) find_script() argument
2961 const char *script, *ext; parse_scriptname() local
3633 script__setup_sample_type(struct perf_script *script) script__setup_sample_type() argument
3676 set_maps(struct perf_script *script) set_maps() argument
3700 struct perf_script *script = container_of(tool, struct perf_script, tool); process_thread_map_event() local
3722 struct perf_script *script = container_of(tool, struct perf_script, tool); process_cpu_map_event() local
3756 struct perf_script *script = container_of(tool, struct perf_script, tool); perf_script__process_auxtrace_info() local
3828 struct perf_script script = { cmd_script() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A D53c700.h70 /* The following is a script fragment to move the buffer onto the
219 __u32 *script; /* pointer to script location */ member
220 __u32 pScript; /* physical mem addr of script */
426 #define script_patch_32(h, script, symbol, value) \
431 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]) + da; \
432 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
433 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
434 DEBUG((" script, patching %s at %d to %pad\n", \
439 #define script_patch_32_abs(h, script, symbo
[all...]
H A D53c700.c153 /* This is the script */
274 return h->pScript + ((uintptr_t)p - (uintptr_t)h->script); in virt_to_dma()
299 __u32 *script; in NCR_700_detect() local
318 script = (__u32 *)memory; in NCR_700_detect()
361 script[j] = bS_to_host(SCRIPT[j]); in NCR_700_detect()
365 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]); in NCR_700_detect()
367 script_patch_32(hostdata, script, MessageLocation, in NCR_700_detect()
369 script_patch_32(hostdata, script, StatusAddress, in NCR_700_detect()
371 script_patch_32(hostdata, script, ReceiveMsgAddress, in NCR_700_detect()
374 hostdata->script in NCR_700_detect()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A D53c700.h69 /* The following is a script fragment to move the buffer onto the
218 __u32 *script; /* pointer to script location */ member
219 __u32 pScript; /* physical mem addr of script */
425 #define script_patch_32(h, script, symbol, value) \
430 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]) + da; \
431 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
432 dma_sync_to_dev((h), &(script)[A_##symbol##_used[i]], 4); \
433 DEBUG((" script, patching %s at %d to %pad\n", \
438 #define script_patch_32_abs(h, script, symbo
[all...]
H A D53c700.c152 /* This is the script */
273 return h->pScript + ((uintptr_t)p - (uintptr_t)h->script); in virt_to_dma()
298 __u32 *script; in NCR_700_detect() local
317 script = (__u32 *)memory; in NCR_700_detect()
360 script[j] = bS_to_host(SCRIPT[j]); in NCR_700_detect()
364 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]); in NCR_700_detect()
366 script_patch_32(hostdata, script, MessageLocation, in NCR_700_detect()
368 script_patch_32(hostdata, script, StatusAddress, in NCR_700_detect()
370 script_patch_32(hostdata, script, ReceiveMsgAddress, in NCR_700_detect()
373 hostdata->script in NCR_700_detect()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddp.c107 info->script[0] = nvbios_rd16(bios, data + 0x06); in nvbios_dpout_parse()
108 info->script[1] = nvbios_rd16(bios, data + 0x08); in nvbios_dpout_parse()
112 info->script[2] = nvbios_rd16(bios, data + 0x0c); in nvbios_dpout_parse()
113 info->script[3] = nvbios_rd16(bios, data + 0x0e); in nvbios_dpout_parse()
116 info->script[4] = nvbios_rd16(bios, data + 0x10); in nvbios_dpout_parse()
122 info->script[0] = nvbios_rd16(bios, data + 0x05); in nvbios_dpout_parse()
123 info->script[1] = nvbios_rd16(bios, data + 0x07); in nvbios_dpout_parse()
125 info->script[2] = nvbios_rd16(bios, data + 0x0b); in nvbios_dpout_parse()
126 info->script[3] = nvbios_rd16(bios, data + 0x0d); in nvbios_dpout_parse()
127 info->script[ in nvbios_dpout_parse()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddp.c107 info->script[0] = nvbios_rd16(bios, data + 0x06); in nvbios_dpout_parse()
108 info->script[1] = nvbios_rd16(bios, data + 0x08); in nvbios_dpout_parse()
112 info->script[2] = nvbios_rd16(bios, data + 0x0c); in nvbios_dpout_parse()
113 info->script[3] = nvbios_rd16(bios, data + 0x0e); in nvbios_dpout_parse()
116 info->script[4] = nvbios_rd16(bios, data + 0x10); in nvbios_dpout_parse()
122 info->script[0] = nvbios_rd16(bios, data + 0x05); in nvbios_dpout_parse()
123 info->script[1] = nvbios_rd16(bios, data + 0x07); in nvbios_dpout_parse()
125 info->script[2] = nvbios_rd16(bios, data + 0x0b); in nvbios_dpout_parse()
126 info->script[3] = nvbios_rd16(bios, data + 0x0d); in nvbios_dpout_parse()
127 info->script[ in nvbios_dpout_parse()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/exec/
H A Dbinfmt_script.py34 # @good: whether this script is expected to execute correctly
71 script = "binfmt_script-%s" % (name)
72 open(script, "w").write(buf)
73 os.chmod(script, 0o755)
75 proc = subprocess.Popen(["./%s" % (script)], shell=True,
95 os.unlink(script)
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/
H A Dkvm.sh60 echo " --dryrun sched|script"
126 checkarg --dryrun "sched|script" $# "$2" 'sched\|script' '^--'
338 # Generate a script to execute the tests in appropriate batches.
339 cat << ___EOF___ > $T/script
503 }' >> $T/script
505 cat << ___EOF___ >> $T/script
514 if test "$dryrun" = script
516 cat $T/script
520 # Extract the test run schedule from the script
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/
H A Dkvm.sh22 # This script knows only English.
71 echo " --dryrun batches|scenarios|sched|script"
144 checkarg --dryrun "batches|sched|script" $# "$2" 'batches\|scenarios\|sched\|script' '^--'
391 # Generate a script to execute the tests in appropriate batches.
392 cat << ___EOF___ > $T/script
442 kvm-get-cpus-script.sh $T/cpuarray.awk $T/dumpbatches.awk
584 -f $T/dumpbatches.awk >> $T/script
585 echo kvm-end-run-stats.sh "$resdir/$ds" "$starttime" >> $T/script
587 # Extract the tests and their batches from the script
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c12 #include "af9005-script.h"
959 /* load init script */ in af9005_fe_init()
960 deb_info("load init script\n"); in af9005_fe_init()
961 scriptlen = sizeof(script) / sizeof(RegDesc); in af9005_fe_init()
964 af9005_write_register_bits(state->d, script[i].reg, in af9005_fe_init()
965 script[i].pos, in af9005_fe_init()
966 script[i].len, script[i].val))) in af9005_fe_init()
969 if (script[i].reg == 0xae18) in af9005_fe_init()
970 temp2 = script[ in af9005_fe_init()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c12 #include "af9005-script.h"
959 /* load init script */ in af9005_fe_init()
960 deb_info("load init script\n"); in af9005_fe_init()
961 scriptlen = sizeof(script) / sizeof(RegDesc); in af9005_fe_init()
964 af9005_write_register_bits(state->d, script[i].reg, in af9005_fe_init()
965 script[i].pos, in af9005_fe_init()
966 script[i].len, script[i].val))) in af9005_fe_init()
969 if (script[i].reg == 0xae18) in af9005_fe_init()
970 temp2 = script[ in af9005_fe_init()
[all...]
/kernel/linux/linux-5.10/scripts/package/
H A Dbuilddeb6 # Simple script to generate a deb package for a Linux kernel. All the
192 for script in postinst postrm preinst prerm ; do
193 mkdir -p "$tmpdir$debhookdir/$script.d"
194 cat <<EOF > "$tmpdir/DEBIAN/$script"
199 # Pass maintainer script parameters to hook scripts
205 test -d $debhookdir/$script.d && run-parts --arg="$version" --arg="/$installed_image_path" $debhookdir/$script.d
208 chmod 755 "$tmpdir/DEBIAN/$script"
/kernel/linux/linux-6.6/scripts/package/
H A Dbuilddeb6 # Simple script to generate a deb package for a Linux kernel. All the
101 for script in postinst postrm preinst prerm; do
102 mkdir -p "${pdir}${debhookdir}/${script}.d"
105 cat <<-EOF > "${pdir}/DEBIAN/${script}"
111 # Pass maintainer script parameters to hook scripts
117 test -d ${debhookdir}/${script}.d && run-parts --arg="${KERNELRELEASE}" --arg="/${installed_image_path}" ${debhookdir}/${script}.d
120 chmod 755 "${pdir}/DEBIAN/${script}"
/kernel/linux/linux-5.10/tools/testing/selftests/kselftest/
H A Dmodule.sh8 # created by adding a script like this:
30 script=${0##*/}
33 echo "Usage: $script <description> <module_name> [FAIL]"
82 # Main script
/kernel/linux/linux-6.6/tools/testing/selftests/kselftest/
H A Dmodule.sh8 # created by adding a script like this:
30 script=${0##*/}
33 echo "Usage: $script <description> <module_name> [FAIL]"
82 # Main script
/kernel/linux/linux-5.10/tools/hv/
H A DMakefile60 for script in $(ALL_SCRIPTS); do \
61 install $$script -m 755 $(DESTDIR)$(libexecdir)/hypervkvpd/$${script%.sh}; \
/kernel/linux/linux-6.6/tools/hv/
H A DMakefile60 for script in $(ALL_SCRIPTS); do \
61 install $$script -m 755 $(DESTDIR)$(libexecdir)/hypervkvpd/$${script%.sh}; \

Completed in 23 milliseconds

12345