diff options
author | 2014-03-11 17:01:19 +0530 | |
---|---|---|
committer | 2014-04-28 17:36:43 +1000 | |
commit | fb5153d05a7dd42b9bb9855985dd9a99a09fbd80 (patch) | |
tree | c1c6f82115ee4407eac148c70d55d52fdf799105 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | powerpc: powernv: Framework to show the correct clock in /proc/cpuinfo (diff) | |
download | linux-dev-fb5153d05a7dd42b9bb9855985dd9a99a09fbd80.tar.xz linux-dev-fb5153d05a7dd42b9bb9855985dd9a99a09fbd80.zip |
powerpc: powernv: Implement ppc_md.get_proc_freq()
Implement a method named pnv_get_proc_freq(unsigned int cpu) which
returns the current clock rate on the 'cpu' in Hz to be reported in
/proc/cpuinfo. This method uses the value reported by cpufreq when
such a value is sane. Otherwise it falls back to old way of reporting
the clockrate, i.e. ppc_proc_freq.
Set the ppc_md.get_proc_freq() hook to pnv_get_proc_freq() on the
PowerNV platform.
Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions