10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm a little embarrassed after all these years I've never really successfully compiled my own kernel. I used this guide to make the following files:
linux-headers-5.1.9_5.1.9-1_amd64.deb
linux-image-5.1.9_5.1.9-1_amd64.deb
linux-libc-dev_5.1.9-1_amd64.deb
When I first booted into this... (4 Replies)
Discussion started by: Azrael
4 Replies
2. UNIX for Advanced & Expert Users
Hi I am trying to install drbd8 via apt-get on ubuntu10
sudo apt-get install drbd8-source
password for vishals:
Reading package lists... Done
Building dependency tree
Reading state information... Done
drbd8-source is already the newest version.
drbd8-source set to manually installed.
0... (0 Replies)
Discussion started by: vishal_vsh1
0 Replies
3. UNIX for Dummies Questions & Answers
Hi I m using redhat 6 with kernel release
2.6.32-71.el6.i686
I have downloaded latest kernel 3.3.1 from kernel.org .
when i run make module_install i get below error.
# make modules_install
/usr/src/kernels/linux-3.3.1/scripts/depmod.sh: line 37: 11314 Killed ... (0 Replies)
Discussion started by: pinga123
0 Replies
4. Linux
Hi,
I'm a newbie at kernel compilation.
Currently trying to do a bash script to automate the compiling process of the linux kernel.
I'm having some problems with automating the configuration.
I know its possible to load an existing .config file in the make menuconfig screen prompt.
But... (3 Replies)
Discussion started by: aloe_vera
3 Replies
5. UNIX for Dummies Questions & Answers
-----Edit-----
My original post was long and confusing. To sum it up, I am wondering how to do the following Debian based commands on an RPM type system.
dpkg -i XXX.deb
update-initramfs -k xxx -c
update-grub
I hope someone can provide some insight. Thanks in advance!
--------------... (0 Replies)
Discussion started by: b4sakenxx
0 Replies
6. Linux
Hello,
I just bought an old Jornada 728 and, as you may know, it comes with Windows CE 3.0. I do not use Windows, so i wanted to create my own linux system for the Jornada.
I know there are projects like Jlime, Familiar Linux, 720 Degrees, etc. But i want something based on the distribution i... (1 Reply)
Discussion started by: semash!
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am very new to this. I would like to compile the Mach 3.0 kernel. Can someone explain, step-by-step, how to turn all the Mach 3.0 kernel code into a single binary file that will run directly on an x86 computer?
Also, once (and if) I get it working, what software works on it? My goal is... (2 Replies)
Discussion started by: dublinus
2 Replies
8. Red Hat
Dear Linux Masters,
I need ur help in the following:
1. Compiling 2.6 kernel.
2. my Redhat system is 2.4 kernel how to add 2.6 kernel.
3. I need minimum feature in 2.6 ( most probably related to networking)
Please let me know if any sites to download 2.6 kernel.
Can u all please help me... (2 Replies)
Discussion started by: ashokmeti
2 Replies
9. UNIX for Advanced & Expert Users
hello;
i'm trying to install a new kernel in fedora core 5 i'm using the following command:
/usr/src/linux-2.6.15.1# make && make modules && make modules_install && make install
but i always have the following error:
ld: édition de lien finale en échec: Aucun espace disponible sur le périphérique
... (1 Reply)
Discussion started by: jalil smail
1 Replies
10. Tips and Tutorials
Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it
Upgrading FC3 kernel 2.6.9-1.667 to 2.6.10 and compiling it( almost same steps to upgrade to 2.6.11 and above ....note--> also check additional documentation)
#############################################################
1. First of... (0 Replies)
Discussion started by: fed.linuxgossip
0 Replies
READPROFILE(1) User Commands READPROFILE(1)
NAME
readprofile - read kernel profiling information
SYNOPSIS
readprofile [options]
VERSION
This manpage documents version 2.0 of the program.
DESCRIPTION
The readprofile command uses the /proc/profile information to print ascii data on standard output. The output is organized in three col-
umns: the first is the number of clock ticks, the second is the name of the C function in the kernel where those many ticks occurred, and
the third is the normalized `load' of the procedure, calculated as a ratio between the number of ticks and the length of the procedure. The
output is filled with blanks to ease readability.
Available command line options are the following:
-m mapfile
Specify a mapfile, which by default is /usr/src/linux/System.map. You should specify the map file on cmdline if your current kernel
isn't the last one you compiled, or if you keep System.map elsewhere. If the name of the map file ends with `.gz' it is decompressed
on the fly.
-p pro-file
Specify a different profiling buffer, which by default is /proc/profile. Using a different pro-file is useful if you want to
`freeze' the kernel profiling at some time and read it later. The /proc/profile file can be copied using `cat' or `cp'. There is no
more support for compressed profile buffers, like in readprofile-1.1, because the program needs to know the size of the buffer in
advance.
-i Info. This makes readprofile only print the profiling step used by the kernel. The profiling step is the resolution of the profil-
ing buffer, and is chosen during kernel configuration (through `make config'), or in the kernel's command line. If the -t (terse)
switch is used together with -i only the decimal number is printed.
-a Print all symbols in the mapfile. By default the procedures with 0 reported ticks are not printed.
-b Print individual histogram-bin counts.
-r Reset the profiling buffer. This can only be invoked by root, because /proc/profile is readable by everybody but writable only by
the superuser. However, you can make readprofile setuid 0, in order to reset the buffer without gaining privileges.
-M multiplier
On some architectures it is possible to alter the frequency at which the kernel delivers profiling interrupts to each CPU. This
option allows you to set the frequency, as a multiplier of the system clock frequency, HZ. This is supported on i386-SMP (2.2 and
2.4 kernel) and also on sparc-SMP and sparc64-SMP (2.4 kernel). This option also resets the profiling buffer, and requires supe-
ruser privileges.
-v Verbose. The output is organized in four columns and filled with blanks. The first column is the RAM address of a kernel function,
the second is the name of the function, the third is the number of clock ticks and the last is the normalized load.
-V Version. This makes readprofile print its version number and exit.
EXAMPLES
Browse the profiling buffer ordering by clock ticks:
readprofile | sort -nr | less
Print the 20 most loaded procedures:
readprofile | sort -nr +2 | head -20
Print only filesystem profile:
readprofile | grep _ext2
Look at all the kernel information, with ram addresses"
readprofile -av | less
Browse a `freezed' profile buffer for a non current kernel:
readprofile -p ~/profile.freeze -m /zImage.map.gz
Request profiling at 2kHz per CPU, and reset the profiling buffer
sudo readprofile -M 20
BUGS
readprofile only works with an 1.3.x or newer kernel, because /proc/profile changed in the step from 1.2 to 1.3
This program only works with ELF kernels. The change for a.out kernels is trivial, and left as an exercise to the a.out user.
To enable profiling, the kernel must be rebooted, because no profiling module is available, and it wouldn't be easy to build. To enable
profiling, you can specify "profile=2" (or another number) on the kernel commandline. The number you specify is the two-exponent used as
profiling step.
Profiling is disabled when interrupts are inhibited. This means that many profiling ticks happen when interrupts are re-enabled. Watch out
for misleading information.
FILES
/proc/profile A binary snapshot of the profiling buffer.
/usr/src/linux/System.map The symbol table for the kernel.
/usr/src/linux/* The program being profiled :-)
AVAILABILITY
The readprofile command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
4th Berkeley Distribution May 1996 READPROFILE(1)