summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-record.c
diff options
context:
space:
mode:
authorBorislav Petkov <borislav.petkov@amd.com>2009-09-16 13:05:46 +0200
committerBorislav Petkov <borislav.petkov@amd.com>2009-09-16 13:05:46 +0200
commit06724535f8fa26e78238bf8adfc9c81650a665f7 (patch)
tree7634d878082199d9880b99b52c00ccb341ea1db9 /tools/perf/builtin-record.c
parentamd64_edac: Rewrite unganged mode code of f10_early_channel_count (diff)
downloadlinux-06724535f8fa26e78238bf8adfc9c81650a665f7.tar.xz
linux-06724535f8fa26e78238bf8adfc9c81650a665f7.zip
amd64_edac: check NB MCE bank enable on the current node properly
The old code was using smp_call_function_many which skips the current cpu if it is in the supplied cpumask. Switch to the rdmsr_on_cpus() interface which takes care of that. In addition, add get_cpus_on_this_dct_cpumask helper which computes a cpumask of all the cores on a node and thus on a DCT. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'tools/perf/builtin-record.c')
0 files changed, 0 insertions, 0 deletions