Em Tue, Dec 16, 2014 at 03:18:24AM +0000, Chinnathambi, Muthusamy escreveu: > I wanted try perf probe, but I am getting the following failure. > [root@force perf_tests]# ./perf probe --add sys_read > Failed to find symbol sys_read in kernel > Error: Failed to add events. > [root@force perf_tests]# > I had built and installed the kernel with kprobes enabled. Looks like > the kernel is stripped, how should I build the kernel for perf to be > able to find symbols.
In addition to what David said, you can try using -v to get more verbose error messages that could provide you some extra clue about what is happening, also please check the other perf probe options, like the one that lists the available functions to probe (-F), etc. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
