repo.or.cz
/
ksplice.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Remove relocations to the string in bug table entries.
2008-11-08
T
im Ab
b
ott
R
e
move reloc
a
tions to
t
h
e s
t
ring in
bu
g
t
able entries
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim A
b
b
o
tt
Fill in
the m
a
tch_map
w
h
e
n the
run and pre ins
t
ructi
o
n
s
.
.
.
commit
|
commitdiff
|
tree
2008-11-08
T
im Abbott
R
u
n-pre match
t
he exce
p
tion
t
a
ble
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim A
b
b
o
tt
Run-pre match
t
he
b
ug
t
able
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Ti
m
Abbott
Handle r
e
locations into the middle
of text
sections
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Split the ad
d
end fi
e
l
d
i
nto
t
he inst
r
uction a
n
d target
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
ot
t
Ne
v
er remove
r
elocati
o
n
s in sp
a
ns that are being deleted
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbot
t
Save t
h
e ma
t
ch_map in th
e
ks
p
li
c
e_sec
t
ion structure
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add support
f
or relocations o
f
size 0
i
n
the
kernel
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbot
t
A
dd
g
e
t_table_section
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Ab
b
ott
A
dd run-pre matching of __DA
T
E__ and __TIME__ using
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add ap
p
ly_howto_rel
o
c
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
A
d
d h
a
n
d
le_how
t
o_reloc
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m
A
bbott
Add k
s
p
lice_rel
o
c_
h
owto s
t
r
ucture
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Abbott
On
l
y
de
l
ete symbols
t
hat need
to be de
l
eted in filter_symb
o
l
s
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
o
tt
Set
the keep bits on kept spa
n
s in
r
msyms and finalize
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
T
im A
b
bot
t
Don't creat
e
s
p
ans with size
0
when spli
t
ting table
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Matc
h
strings onl
y
via handle
_
reloc checks
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m A
b
bot
t
Remem
b
er which secti
o
ns were ma
t
ch
e
d
i
n
t
he
firs
t
m
at
c
h_pack
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Recursively ma
t
ch strings when
m
a
tching
a
sect
i
on tha
t
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Delete ksplice structures for exit s
e
ctions in th
e
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbo
t
t
Include original
s
ection nam
e
s
in the
n
ames of various
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Rewrite inspect with less co
d
e duplica
t
i
on
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
b
bott
Add an option
t
o i
n
clude a description
a
long with a
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abbo
t
t
Remo
v
e t
h
e patch file in /va
r
/run after undoing an
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abbott
Don't g
e
nera
t
e
u
n
necessary export_desc structu
r
es
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-05
Tim
A
b
b
ott
Delete
ob
s
o
l
ete
r
eloc
a
tions
b
efore removing
unkept
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-05
Ti
m
Ab
b
ott
F
ix t
h
e
d
ecoding o
f
lvals for memory op
e
rands
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abbott
F
i
x
memory leak on failure in apply_update
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-27
Tim A
b
b
ott
Fix off-by-one erro
r
in relo
c
_bsearch_
c
om
p
are
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-26
Tim Abbo
t
t
Fix typ
o
in is_nop
'
s check for MOV instru
c
tions
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-26
Ti
m
A
b
bott
P
r
e
pare trampo
l
ines
b
efore ch
e
cking their s
i
ze
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-23
T
im Abbott
Add a simple keep_sp
a
n he
l
per function
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-23
Tim Abbott
Only
set
s
s->keep if some span i
n
side the
s
upersect
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Ke
e
p sections ref
e
re
n
ced
b
y sp
e
cial sec
t
i
o
n in prim
a
ry
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Remove
t
he (non-tem
p
) labelvals
list
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use
a
ksplice_sy
m
b
o
l structure
in struct kspl
i
ce_pa
t
ch
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bott
Use the helper symbol's na
m
e fie
l
d (if avail
a
ble) in
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
N
e
ver add a depend
e
n
c
y on another pri
m
ary
m
odule in
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
im Abbott
Remov
e
the la
b
el field of str
u
c
t
l
a
b
e
lval
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbot
t
Clean u
p
supe
r
bfd initia
l
ization code
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
A
d
d support for
p
atchin
g
c
omp
i
lation
u
nit
s
containing
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
b
bott
S
p
lit table sections
i
nto s
p
a
n
s at in
i
tialization time
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Ab
b
o
tt
Check that the sp
a
ns
for a relo
c
ation's tar
g
et and
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbott
Use
span
s
in th
e
primary f
l
oodfill
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
t
t
Add a new fi
n
d_span fun
c
tion
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Never delete sec
t
i
on symbols whe
n
deleting sym
b
ols
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bott
Clean up match_s
e
ctions_
b
y_lab
e
l/match_se
c
tion
s
_b
y
_name
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abbo
t
t
C
heck that spans
containing g
l
o
bal
sym
b
ols are never
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
C
h
eck that the no
n
-
d
st
_
m
a
sk parts of relocations
mat
c
h
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Ab
b
ott
Co
m
pare rel
o
ca
t
ion howto typ
e
s in relocs_equal
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abbott
Ignore relocations from a
data se
c
tion to itself
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbo
t
t
Set r
e
t to 0 on su
c
cess p
a
th out of init_ksplice_pack
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Add s
u
ppor
t
for patching kernels whose text is ma
p
ped
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
b
o
tt
Don't generate e
m
pty Syst
e
m
.
ma
p
ar
r
ay entries
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Place temp labelvals in t
h
ei
r
ow
n
list
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
b
o
tt
Access labelvals by pointer,
r
ather than by s
e
arching
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbott
Suppress du
p
licate ksplice_symbol struct
u
r
e
s acros
s
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Only write s
y
stem_m
a
p
arrays wh
e
n a
d
dstr
_
sect is ""
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
Abbott
Use a b
i
nary
s
earch to s
p
ee
d
up
bulk kal
l
sy
m
s look
u
ps
.
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
U
s
e a binary s
e
arch to speed up bul
k
exported symbol
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Ad
d
suppo
r
t
for ru
n
-pre matching CONFIG_DYNAMIC_FTRACE
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use UD_VENDOR_ANY i
n
x86
r
un-pre matching
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
im
Abbott
Replace match
_
nop with a fas
t
er udis86
i
mplementation
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use a
b
i
n
ary sear
c
h
t
o
f
i
n
d
System
.
map e
n
tri
e
s
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Use a finger to avoid unnec
e
s
sary binary searches
f
o
r
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use a b
i
nary search in lo
o
kup_reloc
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
im A
b
bott
Add a gener
i
c b
i
nary s
e
a
r
ch implem
e
ntation
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Avoid scanning throu
g
h all relocations in w
r
ite_reloc
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Avo
i
d sc
a
nning symbol
s
to compute canonical symbols
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
U
s
e a
hash tab
l
e to s
t
ore the
c
aller searc
h
results
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
U
se a hash
table for the l
a
b
e
l ma
p
label
uniquification
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Use
a hash to a
v
o
i
d
d
uplicat
e
ca
n
onical s
y
mbol entries
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbot
t
Use a hash to cache the cano
n
ical s
y
mbol
s
of (
s
ecti
o
n
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
im Abbott
Use a has
h
loo
k
u
p
in label_lookup
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Use
a hash of r
e
l
o
cation addresses to speed up read_reloc
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Ab
b
ot
t
Fix has
h
t
ype API's support for de
c
l
aring hash type
s
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Never call symbol_l
a
bel from lab
e
l_lookup
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
b
b
o
t
t
Remove u
n
necessa
r
y
argume
n
t
s from write_ksplice_sec
t
ion
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
Abbott
Use a
supers
e
ct, not an asection
,
i
n the expo
r
t
structu
r
es
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
I
nitialize
the symbol field
of s
t
r
u
c
t
superse
c
t to
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbott
Move s
y
m
bol_lab
e
l, sta
t
i
c
_lo
c
al_symbol,
et
c
.
i
n
to objman
i
p
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abbott
Rem
o
ve match_
s
ecti
o
n_by_cont
e
nts
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Pr
i
nt out the
section types of sections
t
hat can't
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
im Ab
b
o
t
t
Re
m
ove
unused s
t
ruc
t
ws
e
ct
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Don't
use create
_
s
a
fety_record fo
r
primar
y
se
c
tions
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Ab
b
ott
Move reloc
comparison
into its own function, an
d
cl
e
anup
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m
Ab
b
ott
Clean up export
handling code
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bott
Handle export se
c
tions using spans
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Ab
b
ott
Handle special sect
i
o
ns usi
n
g spans
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
im Abb
o
t
t
Use
the
new spa
n
API to ru
n
-pre match
.
rodata
.
s
tr se
c
t
i
ons
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m
A
bbot
t
Attac
h
lab
e
ls to
s
p
ans
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
Abbott
In obj
m
ani
p
ke
e
p-helper, re
m
ov
e
unkept
spans within
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Add
s
pan supp
o
rt to the
k
e
e
p
-helpe
r
floodfill
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
T
im Abbot
t
Clean up obj
m
anip
k
eep-helper's refere
n
ced floodfill
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Don't brute_se
a
rc
h
w
h
e
n
we h
a
ve kal
l
syms
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbott
A
d
d deb
u
gging print s
t
atemen
t
for ke
p
t symbol
s
in unkept
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Ab
b
ott
Fix
m
issing checks for whet
h
er we got debug output
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbot
t
Im
p
rove
k
splice-apply error
behavior
whe
n
d
e
b
u
gfs is
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
[udis86]
F
ix the
opcode entri
e
s for VMC
L
EAR,
VMXON
.
.
.
Signed-off-by: Tim Abbott <
tabbott@mit.edu
>
commit
|
commitdiff
|
tree
next