perf pmu: Fix function name in comment, its get_cpuid_str(), not get_cpustr()
get_cpuid_str() is used in tools/perf/arch/xxx/util/header.c, fix the name in comment. Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Cc: Andi Kleen <ak@linux.intel.com> Link: http://lore.kernel.org/lkml/1588141992-48382-1-git-send-email-zhangshaokun@hisilicon.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Родитель
6fa9c3e779
Коммит
454a8be0cf
|
@ -26,7 +26,7 @@ struct pmu_event {
|
||||||
* Map a CPU to its table of PMU events. The CPU is identified by the
|
* Map a CPU to its table of PMU events. The CPU is identified by the
|
||||||
* cpuid field, which is an arch-specific identifier for the CPU.
|
* cpuid field, which is an arch-specific identifier for the CPU.
|
||||||
* The identifier specified in tools/perf/pmu-events/arch/xxx/mapfile
|
* The identifier specified in tools/perf/pmu-events/arch/xxx/mapfile
|
||||||
* must match the get_cpustr() in tools/perf/arch/xxx/util/header.c)
|
* must match the get_cpuid_str() in tools/perf/arch/xxx/util/header.c)
|
||||||
*
|
*
|
||||||
* The cpuid can contain any character other than the comma.
|
* The cpuid can contain any character other than the comma.
|
||||||
*/
|
*/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче