LinuxQuestions.org
Visit Jeremy's Blog.
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, 07: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, 05:02 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
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 12:01 PM
How do i patch 2.4.21-37 kernel with antidote2 security patch suchi Linux - Kernel 4 09-05-2006 02:29 AM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
kernel config, cant enable patch e1000 Linux - General 2 01-05-2004 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 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
Open Source Consulting | Domain Registration