Em Sun, Feb 08, 2015 at 05:37:08PM +0900, Masami Hiramatsu escreveu: > (2015/01/30 23:21), Arnaldo Carvalho de Melo wrote: > > So perhaps I need a 'noinline' _and_ '__sched', so that I have a "optimized > > no-inline functions which have only function definition but no actual > > instance > > at that point"? > > Ok, actually vmalloc_fault is marked as a nokprobe symbol. > > $ grep vmalloc_fault -r arch/x86/ > arch/x86/mm/fault.c:static noinline int vmalloc_fault(unsigned long address) > arch/x86/mm/fault.c:NOKPROBE_SYMBOL(vmalloc_fault); > arch/x86/mm/fault.c:static noinline int vmalloc_fault(unsigned long address) > arch/x86/mm/fault.c:NOKPROBE_SYMBOL(vmalloc_fault); > arch/x86/mm/fault.c: if (vmalloc_fault(address) >= 0) > > All the symbols which marked by NOKPROBE_SYMBOL macro can not be > kprobed. And we now have <debugfs>/kprobes/blacklist special file
Ok! > to get all nokprobe symbols. > I'll make another perf-probe patch which looks the blacklist before > trying define new events. Ok, that will help, improving the error messages is a big priority. - Arnaldo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/