Searched hist:b03f6489f9f27dc519a4c60ebf39cc7b8a58eae7 (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
H A D | profile.h | diff b03f6489f9f27dc519a4c60ebf39cc7b8a58eae7 Fri Jul 25 10:45:35 CEST 2008 Adrian Bunk <bunk@kernel.org> build kernel/profile.o only when requested
Build kernel/profile.o only if CONFIG_PROFILING is enabled.
This makes CONFIG_PROFILING=n kernels smaller.
As a bonus, some profile_tick() calls and one branch from schedule() are now eliminated with CONFIG_PROFILING=n (but I doubt these are measurable effects).
This patch changes the effects of CONFIG_PROFILING=n, but I don't think having more than two choices would be the better choice.
This patch also adds the name of the first parameter to the prototypes of profile_{hits,tick}() since I anyway had to add them for the dummy functions.
Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
/linux/kernel/ |
H A D | profile.c | diff b03f6489f9f27dc519a4c60ebf39cc7b8a58eae7 Fri Jul 25 10:45:35 CEST 2008 Adrian Bunk <bunk@kernel.org> build kernel/profile.o only when requested
Build kernel/profile.o only if CONFIG_PROFILING is enabled.
This makes CONFIG_PROFILING=n kernels smaller.
As a bonus, some profile_tick() calls and one branch from schedule() are now eliminated with CONFIG_PROFILING=n (but I doubt these are measurable effects).
This patch changes the effects of CONFIG_PROFILING=n, but I don't think having more than two choices would be the better choice.
This patch also adds the name of the first parameter to the prototypes of profile_{hits,tick}() since I anyway had to add them for the dummy functions.
Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|