[PATCH v5 5/7] perf/sdt: Warn when number of events recorded are not equal to cached events

2017-03-14 Thread Ravi Bangoria
If number of events found from probe-cache is not equal to number of existing events(fetched from uprobe_events), and somehow we decides to record only existing events, we warn user about the same. For ex, $ sudo ./perf probe sdt_libpthread:mutex_release Added new events:

[PATCH v5 5/7] perf/sdt: Warn when number of events recorded are not equal to cached events

2017-03-14 Thread Ravi Bangoria
If number of events found from probe-cache is not equal to number of existing events(fetched from uprobe_events), and somehow we decides to record only existing events, we warn user about the same. For ex, $ sudo ./perf probe sdt_libpthread:mutex_release Added new events: