diff options
author | Ravi Bangoria <[email protected]> | 2016-08-03 14:28:44 +0530 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-09-01 12:42:25 -0300 |
commit | b3f33f930606a55b547ac4ef5a32df2c23a44ec1 (patch) | |
tree | cf1a5012e195f7d60de7609d392120030ce599f1 /scripts/gdb/linux/lists.py | |
parent | 432746f8e0b6a82ba832b771afe31abd51af6752 (diff) |
perf probe: Add helper function to check if probe with variable
Introduce helper function instead of inline code and replace hardcoded
strings "$vars" and "$params" with their corresponding macros.
perf_probe_with_var() is not declared as static since it will be called
from different file in subsequent patch.
Signed-off-by: Ravi Bangoria <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Hemant Kumar <[email protected]>
Cc: Naveen N. Rao <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/1470214725-5023-1-git-send-email-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions