aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorAlexander Kuleshov <[email protected]>2016-02-26 19:14:13 -0800
committerThomas Gleixner <[email protected]>2016-02-27 08:55:30 +0100
commit7aca0c07207385cca76025cc85231519935722b9 (patch)
tree3ef5dafb42ad1f6772df77eb499d660176c75599 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent07f101d33def572c7018626735475f88dabecebf (diff)
clocksource: Introduce clocksource_freq2mult()
The clocksource_khz2mult() and clocksource_hz2mult() share similar code wihch calculates a mult from the given frequency. Both implementations in differ only in value of a frequency. This patch introduces the clocksource_freq2mult() helper with generic implementation of mult calculation to prevent code duplication. Signed-off-by: Alexander Kuleshov <[email protected]> Signed-off-by: John Stultz <[email protected]> Cc: Prarit Bhargava <[email protected]> Cc: Richard Cochran <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions