diff options
author | Zubin Mithra <[email protected]> | 2018-07-25 10:19:01 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2018-07-31 11:32:44 -0400 |
commit | 5248ee85603067e62a228402afd2fb68f957746b (patch) | |
tree | 2f9c99ec03cf8189bf1323ed80f3e04f34189ea3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c3bc8fd637a9623f5c507bd18f9677effbddf584 (diff) |
tracefs: Annotate tracefs_ops with __ro_after_init
tracefs_ops is initialized inside tracefs_create_instance_dir and not
modified after. tracefs_create_instance_dir allows for initialization
only once, and is called from create_trace_instances(marked __init),
which is called from tracer_init_tracefs(marked __init). Also, mark
tracefs_create_instance_dir as __init.
Link: http://lkml.kernel.org/r/[email protected]
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Zubin Mithra <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions