Programming Utilities Guide
검색에만이 책은
PDF로 이 문서 다운로드

Index

Symbols

#include directive159
$PATH (TNF)4
$set_name (TNF)11
.fini (TNF)3
.init (TNF)3, 4
.prexrc15
/proc (TNF)48

A

access control for editing, SCCS227
adding suffix rules in make171
admin, sccs subcommand251, 253
allocating buffer (TNF)25
attaching prex to process5
attributes (TNF)10

B

buffer, allocating (TNF)25
building a project with make209
building libraries with make180

C

C++76
C++ mangled symbols72, 116
CC76
cdc, sccs subcommand238
check in, then check out file for editing,sccs deledit234
comb, sccs subcommand242
comma-file, SCCS, 228
command
.....dependency checking in make158
.....line294, 296
replacement macro reference205
compare versions, sccsdiff238
compiling alternate library variants inmake189
complex compilations and make182
conditional macro definitions inmake187
consistency control (make)143
control, place file under SCCS228
cookie.c (TNF)16
create
delta (SCCS),231
.....reports, sccs prs239
.....SCCS history file228, 229
sccs subcommand228, 229
cross-compilation macro
.....HOST_ARCH223
.....TARGET_MACH223

D

data keywords239, 254
debug function (TNF)3
debugging (TNF)1
.DEFAULT special target in make152
default makefile147
defining
.....new types for probes (TNF)44
macros in make157
user types (TNF)44
delayed macro references in make170
deledit, sccs subcommand234
delete pending changes, sccs unedit233
delta (SCCS)
.....check in a file229, 231
.....combining242
.....creating231
.....creating a new release246
.....display commentary, sccs prt237
.....display entire history239
.....excluding from working copy241
.....fix commentary240
.....ID, SID,230
.....remove240
.....update commentary, sccs cdc238
.....vs. version229
demangling symbols72, 116
dependency
.....checking in make148
.....file144
diffs, sccs subcommand233
dlclose(3X) (TNF)49
dlopen(3X) (TNF)3, 49
Don't know how to make target152
duplicate targets (make),153
dynamic macros
.....implicit rules in make169
.....modifiers in make169

E

edit, sccs subcommand229, 231, 241, 246
editing (SCCS)
......check editing status of, sccs info237
......check in, then out, sccs deledit234
......check out for editing229, 231
......controlling file access,227
......delete pending changes, sccsunedit233
enabling
......kernel probes (TNF)26
enhancements to make216
environment variables296, 297
errors, interpreting SCCS messages251
escaped NEWLINE, and make147
example, testing with make204
exec() (TNF)49
extern C functions76
extracting kernel trace data (TNF)29

F

failure code (TNF)49
files
......administering SCCS251 to 253
......binary, and SCCS243
......check editing status of, sccs info237
......check in under SCCS229, 231
......check in, then out, for editing, sccsdeledit234
......check out for editing from SCCS229, 231
......combining SCCS deltas242
......comma-file, SCCS228
......compare versions, sccs sccsdiff238
......create an SCCS history228
......delete pending changes, sccsunedit233
......dependency, in make145
......display entire SCCS history239
......duplicate source directories withSCCS244
......excluding deltas from SCCS workingcopy241
.....fix SCCS delta or commentary240
.....get most recent SID236
.....get selected version234
.....get version by date234
.....get working copy232
.....get working copy under SCCS229
.....locking sources with SCCS227
.....naming retrieved working copy234
.....parameters for SCCS history files251
.....presumed static by make145
.....remove SCCS delta240
.....restoring corrupted SCCS historyfile253
.....retrieving writable working copyfrom SCCS234, 241
.....review pending changes, sccsdiffs233
.....review SCCS commentary229
.....s.file228
.....SCCS-file228
.....target, in make145
.....temporary SCCS files246
.....trace (TNF)22
.....validating SCCS history files252
.....x.file, SCCS246
.....z.file, SCCS,246
fix, sccs subcommand240
force processing of target in make152
fork(2) (TNF)49
fork1(2) (TNF)49

G

get (SCCS)
.....access to a file for editing underSCCS229, 231
.....most recent SID236
.....selected version of a file234
.....version by date234
.....version of a file by date underSCCS234
.....working copy of a file232
.....working copy of a file underSCCS229
get, sccs subcommand229, 232, 234, 236, 239, 241
grammar (TNF)10

H

headers
hidden dependencies, make159,160
......maintaining directory of, make194
help, sccs subcommand251
hidden dependency checking, make159
history file, create, SCCS228229
HOST_ARCH macro223

I

ID keywords235, 254
iend, make(1)303
.IGNORE special target in make155
ignored command exit status, make154
implicit rules, make147, 168
incompatibilities with older versions,make224 to 226
info, sccs subcommand237
.INIT special target, perform ruleinitially191
inserting probe points (TNF)39
installing programs and libraries,make209
interpreting SCCS error messages251
istart, make(1)275

K

.KEEP_STATE special target in make158
kernel (TNF) 24-38
......disabling tracing28
......enabling probes26
......enabling tracing28
......extracting trace data29
......probes26, 30
......reading trace30
......resetting kernel tracing, 29
......script for tracing, 35
tracing, resetting29
keywords
.....data239, 254
.....ID235, 254

L

level number, in SID230
lex(1)51 to 79
command line52 to 54
definitions67 to 70, 77
disambiguating rules62 to 63
how to write source54 to 71
library53 to 54, 76
operators55 to 58
quick reference77 to 79
routines60, 64 to 67
source format54, 77 to 79
start conditions68 to 70
use with yacc(1)67 to 68, 73 to 76, 81 to 84, 91 to 92, 112 to 114
user routines64 to 65, 70 to 71
yylex()52 to 53, 74
lexical analyzer (see lex(1))54
/lib/svr4.make275
libraries, maintaining288, 291
libraries, building with make180
libtnfprobe3, 4, 5
linking with system-supplied libraries inmake185
lint and make184
local I/O probes34
locking, file versions (SCCS)227

M

m4(1)259 to 274
argument handling264 to 267
arithmetic capabilities267 to 268
command line260 to 261
conditional preprocessing269 to 270
defining macros261 to 264
file manipulation268 to 269
quoting262 to 264
string handling270 to 271
macros278, 285, 289, 291
defining (m4),261 to264
......references in make157
processing changes for make221
maintaining,
......libraries288, 291
programs with make143
software projects and make206
subsidiary libraries with make213
make143 to 226
......#include directive159
......adding suffix rules171
......building libraries180
......command-line arguments157
......delayed macro reference170
......depend replaced by hiddendependency checking159
......enhancements216
......escaped NEWLINE147
......implicit rules147
......improved library support223
......and lint184
......macro references in157
......macros288
......MAKEFLAGS macro197
metacharacters (shell) in makerules146
nested make commands,195
noninteractive tasks and make143
options161
......pattern-matching rules147, 173
......predefined macros162
......reserved words153
......SHELL variable197
......silent execution154
special targets152
......suffix list167
......suffix rules166
......-t option, warning against163
target entry format for make145
.....target group202
.....or shell scripts144
.....version incompatibilities224 to 226
.....which version275
make target144, 145, 146, 150
......DEFAULT152
......IGNORE155
......KEEP_STATE158
......PRECIOUS182
......SILENT154
makefile144
.....and SCCS146
.....default file147
.....or Makefile146
.....searched for in workingdirectory146
MAKEFLAGS macro in make197
messages, errors (SCCS),251
metacharacters (shell) in make rules146

N

nested make commands, described195
No Id Keywords (cm7)236
noninteractive tasks and make143

O

options, make161
organization issues and make206
organization of guidexvii

P

page daemon (TNF)33
page faults (TNF)33
page I/O (TNF)33
parser (see yacc(1))81
passing command-line arguments tomake157
pattern, replacement macro references inmake190
pattern-matching rules in make147,173
pattern-matching rules for troff, exampleof how to write209
performance data (TNF)1
performance issues (TNF)48
.PRECIOUS -- special target in make182
predefined macros, using, inmake162,165
prex3
......attaching to process5
......attributes10
......commands13
......connecting probe points15
......disabling kernel tracing28
......enabling probe points15
......enabling tracing (kernel)28
......halting and continuing6
......kernel tracing24
......options4, 7
......sample session18
......script15
......selecting kernel probes26
......starting your program4
......tnfdump sample23
......trace file22
......trace file name8
......tracing15
probe functions (TNF)3
probe points (TNF), 3
......connecting15
......enabling15, 28
......tracing15
program maintenance with make143
program sample (TNF)16
prs, sccs subcommand239
prt, prt subcommand229
prt, sccs subcommand237

R

recursive makefiles and directoryhierarchies in make211
recursive targets, as distinct from nestedmake commands212
regular expressions55 to 58
release number, in SID230
repetitive tasks and make143
reserved make words153
reserved words (TNF),12
resetting kernel tracing (TNF)29
retrieve copies, SCCS227
retrieving current file versions from SCCS,in make155
review pending changes, sccs diffs233
rmdel, sccs subcommand240
rule, in target entry for make144
running tests with make203

S

s.file228
sample program (TNF)16
SCCS227
.....administering s.files251 to 253
.....and binary files243
.....branches246 to 251
.....create a history file228
.....data keywords239, 254
.....delta ID230
.....delta vs. version229
.....duplicate source directories244
.....history file parameters251
.....history files as true source files244
.....ID keywords235, 254
.....and make,143, 245
.....and makefile146
.....restoring a corrupted history file253
.....s.file,228
.....temporary files246
.....utility commands254
.....validating history files252
.....x.file,246
.....z.file,246
sccs229
.....admin251
.....admin -z253
.....cdc238
.....comb242
.....command228 to 246
......create228, 229
......deledit234
......delta229, 231
......diffs233
......diffs and the c option for diff233
......edit229, 231
......edit -r246
......edit -x241
......fix240
......get229, 232
......get -c234
......get -G234
......get -g236
......get -k234, 241
......get -m239
......get -r234
......help251
......info237
......prs239
......prt229, 237
......rmdel240
......sccsdiff238
......unedit233
......val252
SCCS subdirectory228
sccsdiff, sccs subcommand238
SCCS-file228
script for kernel tracing (TNF)35
scripts and prex15
selecting kernel probes (TNF)26
selector_list (TNF)11
shell
......scripts vs. make144
......special characters and make146
......variables, references in make204
SHELL environment variable, andmake197
SID, SCCS delta ID230
signals (TNF)49
.SILENT special target in make154
silent command execution, make154
source code control system227
spaces, leading, common error in makerules145
special targets in make152
stderr (TNF)3
suffix
list, in make167
replacement macro references inmake183
rules in makefiles166
transformation285, 288, 298, 303
suppressing automatic SCCS retrieval inmake156
swapper (TNF)34
symbols, mangled72, 116
system call probes (TNF)32
System V make275

T

target entry format for make145
target group202
target, make144
TARGET_ARCH macro223
targets, duplicate153
targets, special in make152
temporary files for SCCS246
thread probes (TNF)31
thread scheduling probe (TNF)34
TNF_DECLARE_RECORD44
TNF_DEFINE_RECORD_n44
TNF_PROBE macros39
tnf_probes30
tnfdump3, 7, 22, 30
.....sample23
tnfxtract29
trace file (TNF)22
Trace Normal Form (TNF)3
tracing kernel
.....disabling kernel (TNF)28
.....enabling kernel (TNF)28
.....extracing kernel data (TNF)29
.....kernel (TNF)24
......resetting kernel (TNF)29
tracing execution (TNF)1, 15
transitive closure, none for suffix rules inmake171

U

unedit, sccs subcommand233
USE_SVR4_MAKE system variable275
user types for probes44
/usr/ccs/bin/make275
/usr/share/lib/make/make.rules147

V

val, sccs subcommand252
variant object files and programs from thesame sources in make188
version
......SCCS delta ID230
......vs. delta, in SCCS229
virtual memory probes (TNF)32
VM probes (TNF)32

W

words, reserved (TNF)11
words, reserved in make153

X

x.file246

Y

yacc(1)81 to 142
yacc(1) library76
definitions90 to 92
disambiguating rules99 to 109
error handling109 to 112
how to write source84 to 90
library112 to 114
routines117
source format84
symbols84 to 90
typing119 to 120
use with dbx(1)114
use with lex(1)67 to 68, 73 to 76, 81 to 84, 91 to 92, 112 to 114
yylex()113
yyparse()112 to 114

Z

z.file246