/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
H A D | stat_output.sh | 63 echo -n "Checking $1 output: per core " 69 perf stat --per-core -a $2 true 70 commachecker --per-core 76 echo -n "Checking $1 output: per thread " 82 perf stat --per-thread -a $2 true 83 commachecker --per-thread 89 echo -n "Checking $1 output: per cache instance " 95 perf stat --per-cache -a $2 true 96 commachecker --per-cache 102 echo -n "Checking $1 output: per di [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/ |
H A D | stat+json_output.sh | 99 echo -n "Checking json output: per core " 105 perf stat -j --per-core -a -o "${stat_output}" true 106 $PYTHON $pythonchecker --per-core --file "${stat_output}" 112 echo -n "Checking json output: per thread " 118 perf stat -j --per-thread -a -o "${stat_output}" true 119 $PYTHON $pythonchecker --per-thread --file "${stat_output}" 125 echo -n "Checking json output: per cache_instance " 131 perf stat -j --per-cache -a true 2>&1 | $PYTHON $pythonchecker --per-cache 137 echo -n "Checking json output: per di [all...] |
H A D | record.sh | 29 echo "Basic --per-thread mode test" 35 if ! perf record --per-thread -o "${perfdata}" ${testprog} 2> /dev/null 55 perf record -p "${TESTPID}" --per-thread -o "${perfdata}" sleep 1 2> /dev/null 71 echo "Basic --per-thread mode test [Success]" 87 -c 1000 --per-thread ${testprog} 2> /dev/null \
|
H A D | test_arm_coresight.sh | 40 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \ 203 # Test all combinations of per-thread, system-wide and normal mode with 205 arm_cs_etm_basic_test -e cs_etm/timestamp=0/ --per-thread 206 arm_cs_etm_basic_test -e cs_etm/timestamp=1/ --per-thread
|
/kernel/linux/linux-5.10/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.h | 143 #define BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, \ 152 [REG_PULLEN] = { per, peb }, \ 161 #define BANK(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib) \ 162 BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, 0, 0)
|
/kernel/linux/linux-6.6/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.h | 146 #define BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, \ 155 [MESON_REG_PULLEN] = { per, peb }, \ 164 #define BANK(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib) \ 165 BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, 0, 0)
|
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/ |
H A D | headsmp.S | 103 add r5, r5, r2 @ array of per-cpu mpidr values 104 add r6, r6, r2 @ array of per-cpu functions 105 add r7, r7, r2 @ array of per-cpu arguments
|
/kernel/linux/linux-6.6/arch/arm/mach-shmobile/ |
H A D | headsmp.S | 103 add r5, r5, r2 @ array of per-cpu mpidr values 104 add r6, r6, r2 @ array of per-cpu functions 105 add r7, r7, r2 @ array of per-cpu arguments
|
/kernel/liteos_a/kernel/extended/perf/pmu/ |
H A D | perf_sw_pmu.c | 65 Event *event = &(events->per[i]); in OsPerfHook() 112 Event *event = &(events->per[i]); in OsPerfSwConfig() 130 Event *event = &(events->per[i]); in OsPerfSwStart()
|
H A D | perf_timed_pmu.c | 52 Event *event = &(events->per[i]); in OsPerfTimedStart() 81 Event *event = &(events->per[i]); in OsPerfTimedConfig() 129 Event *event = &(events->per[index]); in OsPerfTimedHandle()
|
H A D | perf_hw_pmu.c | 70 Event *event = &(events->per[i]); in OsPerfHwConfig() 118 Event *event = &(events->per[i]); in OsPerfHwStart() 140 Event *event = &(events->per[i]); in OsPerfHwStop()
|
/kernel/liteos_a/kernel/extended/perf/ |
H A D | los_perf.c | 97 g_pmu->events.per[i].eventId = eventsCfg->events[i].eventId; in OsPerfConfig() 98 g_pmu->events.per[i].period = eventsCfg->events[i].period; in OsPerfConfig() 124 Event *event = &(events->per[index]); in OsPerfPrintCount() 325 res |= events->per[index].period; in OsPerfParamValid() 391 PRINTK("events[%d]: %d, 0x%x\n", i, g_pmu->events.per[i].eventId, g_pmu->events.per[i].period); in PerfInfoDump()
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-coh901.c | 56 /* 8 bits per port, no version has more than 7 ports */ 80 u32 per; member 243 /* Mask out this pin, note 2 bits per setting */ in u300_gpio_direction_input() 289 /* One bit per pin, clamp to bool range */ in u300_gpio_config_get() 290 biasmode = !!(readl(U300_PIN_REG(offset, per)) & U300_PIN_BIT(offset)); in u300_gpio_config_get() 350 val = readl(U300_PIN_REG(offset, per)); in u300_gpio_config_set() 351 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, per)); in u300_gpio_config_set() 354 val = readl(U300_PIN_REG(offset, per)); in u300_gpio_config_set() 355 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, per)); in u300_gpio_config_set() 510 val &= 0xFFU; /* 8 bits per por in u300_gpio_irq_handler() [all...] |
/kernel/linux/linux-5.10/arch/xtensa/lib/ |
H A D | memcopy.S | 123 # per iteration 129 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 195 # copy 16 bytes per iteration for word-aligned dst and unaligned src 397 # per iteration 403 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 471 # copy 16 bytes per iteration for word-aligned dst and unaligned src
|
/kernel/linux/linux-6.6/arch/xtensa/lib/ |
H A D | memcopy.S | 123 # per iteration 129 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 195 # copy 16 bytes per iteration for word-aligned dst and unaligned src 384 # per iteration 390 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 458 # copy 16 bytes per iteration for word-aligned dst and unaligned src
|
H A D | usercopy.S | 8 * of the Xtensa link-time HAL, and those files may differ per 77 # per iteration 140 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 205 # copy 16 bytes per iteration for word-aligned dst and unaligned src
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-c2c.c | 797 double per; in percent_color() local 800 per = get_percent(c2c_he); in percent_color() 804 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", width - 1, per); in percent_color() 806 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, per); in percent_color() 860 double per; in percent_costly_snoop_entry() local 863 per = percent_costly_snoop(c2c_he); in percent_costly_snoop_entry() 864 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_costly_snoop_entry() 937 double per = PERCENT(he, rmt_hitm); in percent_rmt_hitm_entry() local 940 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_rmt_hitm_entry() 968 double per in percent_lcl_hitm_entry() local 999 double per = PERCENT(he, lcl_peer); percent_lcl_peer_entry() local 1030 double per = PERCENT(he, rmt_peer); percent_rmt_peer_entry() local 1061 double per = PERCENT(he, st_l1hit); percent_stores_l1hit_entry() local 1092 double per = PERCENT(he, st_l1miss); percent_stores_l1miss_entry() local 1123 double per = PERCENT(he, st_na); percent_stores_na_entry() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/rlimits/ |
H A D | Makefile | 4 TEST_GEN_PROGS := rlimits-per-userns
|
/kernel/linux/linux-6.6/scripts/ |
H A D | misc-check | 15 git -C ${srctree:-.} ls-files -i -c --exclude-per-directory=.gitignore 2>/dev/null |
|
/kernel/linux/linux-5.10/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 171 * @offset: on v1 offset of per-ee channel. 172 * on v2 offset of per-ee and per-ppid channel. 353 dev_err(&ctrl->dev, "pmic-arb supports 1..%d bytes per trans, but:%zu requested", in pmic_arb_read_cmd() 406 dev_err(&ctrl->dev, "pmic-arb supports 1..%d bytes per trans, but:%zu requested", in pmic_arb_write_cmd() 465 u8 per = hwirq_to_per(d->hwirq); in qpnpint_spmi_write() local 468 (per << 8) + reg, buf, len)) in qpnpint_spmi_write() 477 u8 per = hwirq_to_per(d->hwirq); in qpnpint_spmi_read() local 480 (per << 8) + reg, buf, len)) in qpnpint_spmi_read() 489 u8 per in cleanup_irq() local 510 u8 per = pmic_arb->apid_data[apid].ppid & 0xFF; periph_interrupt() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 474 u32 per; /* Period in tenths of ns */ local 475 u32 kpc; /* (per * clk) */ 481 if (dt && sfac <= 9) per = 125; 482 else if (sfac <= 10) per = 250; 483 else if (sfac == 11) per = 303; 484 else if (sfac == 12) per = 500; 485 else per = 40 * sfac; 486 ret = per; 488 kpc = per * clk; 496 * to 5 Mega-transfers per secon 1931 sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) global() argument 2091 sym_setsync(struct sym_hcb *np, int target, u_char ofs, u_char per, u_char div, u_char fak) global() argument 2124 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) global() argument 3948 u_char chg, ofs, per, fak, div; global() local 4066 unsigned char per = np->msgin[3]; global() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 474 u32 per; /* Period in tenths of ns */ local 475 u32 kpc; /* (per * clk) */ 481 if (dt && sfac <= 9) per = 125; 482 else if (sfac <= 10) per = 250; 483 else if (sfac == 11) per = 303; 484 else if (sfac == 12) per = 500; 485 else per = 40 * sfac; 486 ret = per; 488 kpc = per * clk; 496 * to 5 Mega-transfers per secon 1931 sym_settrans(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) global() argument 2091 sym_setsync(struct sym_hcb *np, int target, u_char ofs, u_char per, u_char div, u_char fak) global() argument 2124 sym_setpprot(struct sym_hcb *np, int target, u_char opts, u_char ofs, u_char per, u_char wide, u_char div, u_char fak) global() argument 3948 u_char chg, ofs, per, fak, div; global() local 4066 unsigned char per = np->msgin[3]; global() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-c2c.c | 769 double per; in percent_color() local 772 per = get_percent(c2c_he); in percent_color() 776 return __hpp__slsmg_color_printf(hpp, "%*.2f%%", width - 1, per); in percent_color() 778 return hpp_color_scnprintf(hpp, "%*.2f%%", width - 1, per); in percent_color() 827 double per; in percent_hitm_entry() local 830 per = percent_hitm(c2c_he); in percent_hitm_entry() 831 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_hitm_entry() 901 double per = PERCENT(he, rmt_hitm); in percent_rmt_hitm_entry() local 904 return scnprintf(hpp->buf, hpp->size, "%*s", width, PERC_STR(buf, per)); in percent_rmt_hitm_entry() 932 double per in percent_lcl_hitm_entry() local 963 double per = PERCENT(he, st_l1hit); percent_stores_l1hit_entry() local 994 double per = PERCENT(he, st_l1miss); percent_stores_l1miss_entry() local [all...] |
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | header.S | 507 # of 5 bytes per 32767 bytes. 516 # per 32767 bytes of data is sufficient. To avoid problems internal to a 525 # Adding 8 bytes per 32K is a bit excessive but much easier to calculate. 538 # or one byte per 256 bytes. OTOH, we can safely get rid of the +128 as 543 # ZSTD compressed data grows by at most 3 bytes per 128K, and only has a 22
|
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | header.S | 449 # of 5 bytes per 32767 bytes. 458 # per 32767 bytes of data is sufficient. To avoid problems internal to a 467 # Adding 8 bytes per 32K is a bit excessive but much easier to calculate. 480 # or one byte per 256 bytes. OTOH, we can safely get rid of the +128 as 485 # ZSTD compressed data grows by at most 3 bytes per 128K, and only has a 22
|