• Jason Baron's avatar
    tracing: Map syscall name to number · eeac19a7
    Jason Baron authored
    Add a new function to support translating a syscall name to number at
    runtime.
    This allows the syscall event tracer to map syscall names to number.
    Signed-off-by: default avatarJason Baron <jbaron@redhat.com>
    Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
    Cc: Jiaying Zhang <jiayingz@google.com>
    Cc: Martin Bligh <mbligh@google.com>
    Cc: Li Zefan <lizf@cn.fujitsu.com>
    Cc: Masami Hiramatsu <mhiramat@redhat.com>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    eeac19a7
ftrace.c 12.7 KB