Could anybody help to check my questions?

1.      If I want to profile a kernel module, how to?  Shall I rebuild linux kernel and oprofile with specified options or configurations?

2.      If I want to profile a program in user space but not kernel module, how to?  Can I only build oprofile without linux kernel support?

~~Merry Christmas~~


Best Regards.