[PATCH v2 3/5] perf-probe: Add __return suffix for return events

2017-12-06 Thread Masami Hiramatsu
Add __return suffix for function return events automatically. Without this, user have to give --force option and will see the number suffix for each event like "function_1", which is not easy to recognize. Instead, this adds __return suffix to it automatically. E.g. = # ./perf probe -x

[PATCH v2 3/5] perf-probe: Add __return suffix for return events

2017-12-06 Thread Masami Hiramatsu
Add __return suffix for function return events automatically. Without this, user have to give --force option and will see the number suffix for each event like "function_1", which is not easy to recognize. Instead, this adds __return suffix to it automatically. E.g. = # ./perf probe -x