LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-05-2007, 08:33 AM   #1
3ttt
LQ Newbie
 
Registered: May 2007
Posts: 18

Rep: Reputation: 0
Question How to patch kernel to enable CONFIG_TIMER_STATS for 2.6.13-15.13


Hallo Everybody,

My system has now suse/linux/kde 2.6.13-15.13. I want to use powertop which requires CONFIG_TIMER_STATS. Are there anybody know which patch and which other tools I do need, to have CONFIG_TIMER_STATS? I have no experience to patch kernel, could you please guide me or send me any related links?

Thank you very much for your help in advance!

3ttt
 
Old 12-06-2007, 06:02 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 75
You need to get a kernel with version 2.6.21 or higher (and no patching is necessary). Then, when configuring the kernel, you enable CONFIG_TIMER_STATS (which is under the ďKernel hackingĒ section, and a sub-option of CONFIG_DEBUG_KERNEL). Also, you donít want to run this kernel as your everyday kernel (since there is significant overhead with CONFIG_TIMER_STATS).

If you donít feel like compiling a special debug kernel, you might instead try a precompiled one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo patch this patch on 2.6 kernel kushalkoolwal Linux - Kernel 3 08-24-2007 01:01 PM
How do i patch 2.4.21-37 kernel with antidote2 security patch suchi Linux - Kernel 4 09-05-2006 03:29 AM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 07:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 02:21 PM
kernel config, cant enable patch e1000 Linux - General 2 01-05-2004 07:21 PM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration