diff options
author | Andy Shevchenko <[email protected]> | 2018-02-14 17:43:16 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-16 10:10:14 +0100 |
commit | 3130451e270960065e8de684c60b898e970c940c (patch) | |
tree | 6e2e0da85e27d86209b1cd70f5c9245eb45c7c66 /tools/perf/scripts/python/sctop.py | |
parent | e525de3ab04621d227330aa82cd4073c0b0f3579 (diff) |
x86/platform/atom: Re-use DEFINE_SHOW_ATTRIBUTE() macro
...instead of open coding file operations followed by custom ->open()
callbacks per each attribute.
While here, replace permissions by explicit octal value.
Signed-off-by: Andy Shevchenko <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions