aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/clk.py
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2024-03-07 11:27:04 -0800
committerBorislav Petkov (AMD) <bp@alien8.de>2024-03-26 12:40:42 +0100
commit108c6494bdf1dfeaefc0a506e2f471aa92fafdd6 (patch)
treef3745f26c1dd0565bbee10d5b6714c9a877816f0 /scripts/gdb/linux/clk.py
parent4cece764965020c22cff7665b18a012006359095 (diff)
x86/mce: Dynamically size space for machine check records
Systems with a large number of CPUs may generate a large number of machine check records when things go seriously wrong. But Linux has a fixed-size buffer that can only capture a few dozen errors. Allocate space based on the number of CPUs (with a minimum value based on the historical fixed buffer that could store 80 records). [ bp: Rename local var from tmpp to something more telling: gpool. ] Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Sohil Mehta <sohil.mehta@intel.com> Reviewed-by: Avadhut Naik <avadhut.naik@amd.com> Link: https://lore.kernel.org/r/20240307192704.37213-1-tony.luck@intel.com
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions