diff options
author | 2018-08-10 08:43:14 -0700 | |
---|---|---|
committer | 2018-09-10 14:55:36 +0200 | |
commit | 2766d2ee960c52adc415931130dd6910158dd04d (patch) | |
tree | 65101158114c21729cf18266dd280172e76aadae /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge branch 'perf/urgent' into perf/core, to pick up fixes and refresh the branch (diff) | |
download | wireguard-linux-2766d2ee960c52adc415931130dd6910158dd04d.tar.xz wireguard-linux-2766d2ee960c52adc415931130dd6910158dd04d.zip |
perf/x86: Add __ro_after_init annotations
x86_pmu_{format,events,attr,caps}_group is written to in
init_hw_perf_events and not modified after. This makes them suitable
candidates for annotating as __ro_after_init.
Signed-off-by: Zubin Mithra <zsm@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: acme@kernel.org
Cc: alexander.shishkin@linux.intel.com
Cc: groeck@chromium.org
Link: http://lkml.kernel.org/r/20180810154314.96710-1-zsm@chromium.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions