• L
    ksym_tracer: Fix to make the tracer work · 88f7a890
    Li Zefan 提交于
    ksym tracer doesn't work:
    
     # echo tasklist_lock:rw- > ksym_trace_filter
     -bash: echo: write error: No such device
    
    It's because we pass to perf_event_create_kernel_counter()
    a cpu number which is not present.
    Signed-off-by: NLi Zefan <lizf@cn.fujitsu.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: K.Prasad <prasad@linux.vnet.ibm.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <4B3AF19E.1010201@cn.fujitsu.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    88f7a890
hw_breakpoint.c 11.2 KB