• M
    perf probe: Support "string" type · 73317b95
    Masami Hiramatsu 提交于
    Support string type casting to event argument. If perf-probe finds an argument
    casted as string, it ensures the target variable is "(unsigned/signed) char
    *(or []). perf-probe also adds dereference if the target is a pointer.
    
    So, both of 'char buf[10];' and 'char *buf;' can be accessed by 'buf:string'
    
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <20100519195734.2885.1666.stgit@localhost6.localdomain6>
    Signed-off-by: NMasami Hiramatsu <mhiramat@redhat.com>
    Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    73317b95
probe-finder.c 34.2 KB