summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorZubin Mithra <zsm@chromium.org>2018-09-12 19:45:10 +0300
committerIngo Molnar <mingo@kernel.org>2018-09-12 22:16:16 +0300
commit49e73246cbe6fe0df9cae2db87f31cdc3a0b2b61 (patch)
tree8f45b27f95a32ff5f352d082d0af583c075a7dde /tools/lib/bpf/libbpf.c
parentcbdd96f5586151e48317d90a403941ec23f12660 (diff)
downloadlinux-49e73246cbe6fe0df9cae2db87f31cdc3a0b2b61.tar.xz
perf/x86/intel/pt: Annotate 'pt_cap_group' with __ro_after_init
'pt_cap_group' is written to in pt_pmu_hw_init() and not modified after. This makes it a suitable candidate for annotating as __ro_after_init. Signed-off-by: Zubin Mithra <zsm@chromium.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: keescook@chromium.org Link: http://lkml.kernel.org/r/20180912164510.23444-1-zsm@chromium.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions