
190
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
commands. To execute a special command, triple-click the left and
right buttons (hold down one of the buttons and triple-click the
other). A message appears on the console, and the speaker beeps
twice. At this point, release the buttons and press the desired
button within three seconds to activate the associated special
command. The default special commands are:
Left button
Reboot by signalling init.
Middle button
Shut down the system with /sbin/shutdown -h now.
Right button
Reboot with /sbin/shutdown -r now.
gprof
gprof [options] [object_file]
Display the profile data for an object file. The file’s symbol table is
compared with the call graph profile file gmon.out (previously
created by compiling with gcc -pg). Many of gprof’s options take a
symbol-specification argument, or symspec, to limit the option to
specified files or functions. The symspec may be a filename, a func-
tion, or a line number. It can also be given as filename:function or
filename:linenumber to specify a function or line number in a
specific file. gprof expects filenames to contain a period and func-
tions to not contain a period.
Options
-a, --no-static
Do not display statically declared functions. Since their infor-
mation might still be relevant, append it to the information
about the functions ...