perf probe: Support "$vars" meta argument syntax for local variables
Support "$vars" meta argument syntax for tracing all local variables at probe point. Now you can trace all available local variables (including function parameters) at the probe point by passing $vars. # perf probe --add foo $vars This automatically finds all local variables at foo() and adds it as probe arguments. Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20131011071023.15557.51770.stgit@udc4-manage.rcp.hitachi.co.jp Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
c824c4338a
commit
7969ec7728
@@ -47,7 +47,6 @@
|
||||
#include "session.h"
|
||||
|
||||
#define MAX_CMDLEN 256
|
||||
#define MAX_PROBE_ARGS 128
|
||||
#define PERFPROBE_GROUP "probe"
|
||||
|
||||
bool probe_event_dry_run; /* Dry run flag */
|
||||
|
Reference in New Issue
Block a user