aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2022-09-02 15:48:22 +0000
committerBorislav Petkov <bp@suse.de>2022-09-23 12:49:04 +0200
commitfea62d370d7a1ba288d71d0cae7ad47c2a02b839 (patch)
tree793f4b78cf0e28afacfd41baec814371fdab9a6a /tools/perf/scripts/python
parentx86/resctrl: Add per-rmid arch private storage for overflow and chunks (diff)
downloadlinux-fea62d370d7a1ba288d71d0cae7ad47c2a02b839.tar.gz
linux-fea62d370d7a1ba288d71d0cae7ad47c2a02b839.zip
x86/resctrl: Allow per-rmid arch private storage to be reset
To abstract the rmid counters into a helper that returns the number of bytes counted, architecture specific per-rmid state is needed. It needs to be possible to reset this hidden state, as the values may outlive the life of an rmid, or the mount time of the filesystem. mon_event_read() is called with first = true when an rmid is first allocated in mkdir_mondata_subdir(). Add resctrl_arch_reset_rmid() and call it from __mon_event_count()'s rr->first check. Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Jamie Iles <quic_jiles@quicinc.com> Reviewed-by: Shaopeng Tan <tan.shaopeng@fujitsu.com> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Tested-by: Xin Hao <xhao@linux.alibaba.com> Tested-by: Shaopeng Tan <tan.shaopeng@fujitsu.com> Tested-by: Cristian Marussi <cristian.marussi@arm.com> Link: https://lore.kernel.org/r/20220902154829.30399-15-james.morse@arm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
pan title='2013-07-11 22:17:30 +0200'>2013-07-11watchdog: Add Broadcom BCM2835 watchdog timer driverLubomir Rintel4-0/+206 2013-07-11watchdog: delete mpcore_wdt driverViresh Kumar5-473/+0 2013-07-11watchdog: xilinx: Setup the origin compatible stringMichal Simek1-0/+1 2013-07-11watchdog: xilinx: Fix driver headerMichal Simek1-20/+10 2013-07-11watchdog: wdrtas: don't use custom version of print_hex_dumpAndy Shevchenko1-26/+3 2013-07-11watchdog: core: don't try to stop device if not runningHector Palacios1-2/+4 2013-07-11watchdog: jz4740: Pass device to clk_getLars-Peter Clausen1-1/+1 2013-07-11watchdog: twl4030: Remove redundant platform_set_drvdata()Sachin Kamat1-4/+1 2013-07-11watchdog: mpcore: Remove redundant platform_set_drvdata()Sachin Kamat1-2/+0 2013-07-11watchdog: da9055: use platform_{get,set}_drvdata()Jingoo Han1-2/+2 2013-07-11watchdog: da9052: use platform_{get,set}_drvdata()Jingoo Han1-2/+2 2013-07-11watchdog: cpwd: use platform_{get,set}_drvdata()Jingoo Han1-2/+2 2013-07-11watchdog: s3c2410_wdt: convert s3c2410wdt to dev_pm_opsJingoo Han1-10/+8 2013-07-11watchdog: s3c2410_wdt: use dev_err()/dev_info() instead of pr_err()/pr_info()Jingoo Han1-2/+2 2013-07-11watchdog: wm831x: use platform_{get,set}_drvdata()Jingoo Han1-2/+2 2013-07-11watchdog: wm831x_wdt: use devm_gpio_request_one()Jingoo Han1-11/+6 2013-07-11watchdog: mtx1-wdt: use devm_gpio_request_one()Jingoo Han1-2/+1 2013-07-11watchdog: sp805_wdt: use devm_clk_get()Jingoo Han1-5/+2 2013-07-11watchdog: shwdt: Remove redundant platform_set_drvdata()Sachin Kamat1-2/+0 2013-07-11watchdog: shwdt: use devm_clk_get()Jingoo Han1-12/+4 2013-07-11watchdog: pnx4008_wdt: use devm_clk_get()Jingoo Han1-5/+2 2013-07-11watchdog: imx2_wdt: use devm_clk_get()Jingoo Han1-4/+2 2013-07-11watchdog: dw_wdt: Staticize local symbolSachin Kamat1-2/+2 2013-07-11watchdog: dw_wdt: use devm_clk_get()Jingoo Han1-5/+2 2013-07-11watchdog: ts72xx_wdt: use devm_*() functionsJingoo Han1-57/+10 2013-07-11watchdog: riowd: use platform_{get,set}_drvdata()Jingoo Han1-2/+2 2013-07-11watchdog: riowd: use devm_kzalloc()Jingoo Han1-6/+2 2013-07-11watchdog: rc32434_wdt: use devm_ioremap_nocache() functionsJingoo Han1-7/+3 2013-07-11watchdog: nuc900_wdt: use devm_*() functionsJingoo Han1-39/+11 2013-07-11watchdog: mv64x60_wdt: use devm_ioremap()Jingoo Han1-3/+1 2013-07-11watchdog: bcm63xx_wdt: use devm_ioremap_nocache()Jingoo Han1-5/+4 2013-07-11watchdog: at32ap700x: Remove redundant platform_set_drvdata()Sachin Kamat1-4/+1 2013-07-11watchdog: at32ap700x_wdt: use devm_*() functionsJingoo Han1-8/+4 2013-07-11xfs: Add pquota fields where gquota is used.Chandra Seetharaman14-124/+291 2013-07-10Revert "Makefile: Fix install error with make -j option"Linus Torvalds1-1/+1 2013-07-10mm: remove free_area_cacheMichel Lespinasse17-66/+0