diff options
author | Alexander Shishkin <[email protected]> | 2015-06-04 16:31:47 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-06-04 16:07:51 +0200 |
commit | b44a2b53becf2485f484bd6bb6c1d963ebc339f8 (patch) | |
tree | 7a1ed19bff59b6268b4777d52ba48718ebcc9bdc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 68ab747604da98f0a0414f197f346ac22888fcee (diff) |
perf/x86/intel/pt: Fix a refactoring bug
Commit 066450be41 ("perf/x86/intel/pt: Clean up the control flow
in pt_pmu_hw_init()") changed attribute initialization so that
only the first attribute gets initialized using
sysfs_attr_init(), which upsets lockdep.
This patch fixes the glitch so that all allocated attributes are
properly initialized thus fixing the lockdep warning reported by
Tvrtko and Imre.
Reported-by: Tvrtko Ursulin <[email protected]>
Reported-by: Imre Deak <[email protected]>
Signed-off-by: Alexander Shishkin <[email protected]>
Cc: <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions