Oprofile Configure Error Unsupported Kernel Version
Contents |
want to run OProfile under. Do ./configure --with-linux=/path/to/kernel/source then make install. This option is no longer supported with OProfile 0.9.8 and higher. For 2.6 or higher kernels, ensure that the kernel has been configured to include oprofile tutorial OProfile, either built into the kernel or as a module. Next, do ./configure --with-kernel-support. As how to use oprofile of OProfile 0.9.8, kernel support is assumed, and the --with-kernel-support option is no longer needed nor available. Where can I get the required install oprofile libraries ? Most required runtime libraries should already be installed on your system. For building OProfile, you may need to install additional devel packages -- for example, the binutils development package, which provides libiberty and others. On Debian,
Oprofile Ubuntu
this package is not installed by default, and is named "binutils-dev". How do I get started ? Read Getting started. How do I reset the profiling data ? For legacy OProfile (i.e., opcontrol-based profiling), use opcontrol --reset, or you can save the session under a name with opcontrol --save
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian no suitable configured kernel include tree found User Name Remember Me? Password oprofile operf Debian This forum is for the discussion of Debian Linux. Notices Welcome to LinuxQuestions.org,
Oprofile Arm
a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have
Oprofile Usage
the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered http://oprofile.sourceforge.net/faq/ members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. http://www.linuxquestions.org/questions/debian-26/no-suitable-configured-kernel-include-tree-found-235144/ Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 09-25-2004, 02:37 PM #1 r.stiltskin Member Registered: Oct 2003 Location: USA Distribution: xubuntu Posts: 224 Rep: no suitable configured kernel include tree found I'm using Debian for the first time today. I installed Sarge (on my laptop), & selected "desktop environment" so it downloaded & installed 650 packages. No problems with the installation, I modified XF86Config-4 slightly so the display & mouse are working fine. I realized that the installer didn't install make, gcc, g++, so I used apt-g
settings are specified as command-line options and there is no separate command to start the profiling process. To stop operf, press Ctrl+C. The typical operf command syntax looks as follows: operf options range command args Replace options with the desired command-line options to https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/s1-using-operf.html specify your profiling settings. Full set of options is described in operf(1) manual page. Replace range with one of the following: --system-wide - this setting allows for global profiling, see Note --pid=PID - this is https://oss.oracle.com/ol5/docs/RELEASE-NOTES-U11-en.html to profile a running application, where PID is the process ID of the process you want to profile. With command and args, you can define a specific command or application to be profiled, and also how to the input arguments that this command or application requires. Either command, --pid or --system-wide is required, but these cannot be used simultaneously. When you invoke operf on a command line without setting the range option, data will be collected for the children processes. Note To run operf --system-wide, you need root authority. When finished profiling, you can stop operf with Ctrl+C. If you run operf --system-wide as a background process (with how to use &), stop it in a controlled manner in order to process the collected profile data. For this purpose, use: kill -SIGINT operf-PID When running operf --system-wide, it is recommended that your current working directory is /root or a subdirectory of /root so that sample data files are not stored in locations accessible by regular users. 23.2.1. Specifying the Kernel To monitor the kernel, execute the following command: operf --vmlinux=vmlinux_path With this option, you can specify a path to a vmlinux file that matches the running kernel. Kernel samples will be attributed to this binary, allowing post-processing tools to attribute samples to the appropriate kernel symbols. If this option is not specified, all kernel samples will be attributed to a pseudo binary named "no-vmlinux". 23.2.2. Setting Events to Monitor Most processors contain counters, which are used by OProfile to monitor specific events. As shown in Table 23.3, “OProfile Processors and Counters”, the number of counters available depends on the processor. The events for each counter can be configured via the command line or with a graphical interface. For more information on the graphical interface, see Section 23.10, “Graphical Interface”. If the counter cannot be set to a specific event, an error message is displayed. Note Some older processor models are not supported by the underlying Linux