diff options
author | Mark Rutland <[email protected]> | 2017-04-11 09:39:45 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-04-11 16:29:53 +0100 |
commit | 083c52144a19c69b7956aa53c913ba621f7c5ae2 (patch) | |
tree | 4ac19de3eb832f5758f2999f351430d3ebcee6a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a9e469d1c89b5e9890859b5f001601498549577d (diff) |
drivers/perf: arm_pmu: define armpmu_init_fn
We expect an ARM PMU's init function to have a particular prototype,
which we open-code in a few places. This is less than ideal, considering
that we cast a void value to this type in one location, and a mismatch
could easily be missed.
Add a typedef so that we can ensure this is consistent.
Signed-off-by: Mark Rutland <[email protected]>
Tested-by: Jeremy Linton <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions