aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-10-27 15:59:31 +0100
committerLionel Landwerlin <[email protected]>2017-11-20 16:09:04 +0000
commit9f9b2792b6d38fbc8028f31b41ebd38a3f28a401 (patch)
tree9d099910414fc701fec590fbd436ef74af7093cf /tools/perf/scripts/python/bin/stackcollapse-record
parent3fef5cda970124a15c553c1672d800e40fc08a9e (diff)
drm/i915/perf: reuse timestamp frequency from device info
Now that we have this stored in the device info, we can drop it from perf part of the driver. Note that this requires to init perf after we've computed the frequency, hence why we move i915_perf_init() from i915_driver_init_early() to after intel_device_info_runtime_init(). v2: Use div_u64 (Chris) v3: Drop u64 divs by switching to kHz (Chris/Ville) Move i915_perf_fini to i915_driver_cleanup_hw (Matthew) Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions