summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_syscalls.c
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-02-21 03:33:33 +0100
committerSteven Rostedt <rostedt@goodmis.org>2013-03-15 05:34:51 +0100
commit7e4f44b153e1ec07bb64c1c1671cdf492465bbf3 (patch)
tree7477c5f2e6e904391204ac5899bb32f59fb083bc /kernel/trace/trace_syscalls.c
parenttracing: Add a helper function for event print functions (diff)
downloadlinux-7e4f44b153e1ec07bb64c1c1671cdf492465bbf3.tar.xz
linux-7e4f44b153e1ec07bb64c1c1671cdf492465bbf3.zip
tracing: Annotate event field-defining functions with __init
Those functions are called either during kernel boot or module init. Before: $ dmesg | grep 'Freeing unused kernel memory' Freeing unused kernel memory: 1208k freed Freeing unused kernel memory: 1360k freed Freeing unused kernel memory: 1960k freed After: $ dmesg | grep 'Freeing unused kernel memory' Freeing unused kernel memory: 1236k freed Freeing unused kernel memory: 1388k freed Freeing unused kernel memory: 1960k freed Link: http://lkml.kernel.org/r/5125877D.5000201@huawei.com Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
0 files changed, 0 insertions, 0 deletions