Skip to content

Commit d53121d

Browse files
committed
print _SIZEs
1 parent e4c0bb9 commit d53121d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

kpatch-build/create-diff-object.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,6 +2029,7 @@ static int bug_table_group_size(struct kpatch_elf *kelf, int offset)
20292029
size = atoi(str);
20302030
}
20312031

2032+
fprintf(stderr, "BUG_STRUCT_SIZE=%d\n", size);
20322033
return size;
20332034
}
20342035

@@ -2044,6 +2045,7 @@ static int ex_table_group_size(struct kpatch_elf *kelf, int offset)
20442045
size = atoi(str);
20452046
}
20462047

2048+
fprintf(stderr, "EX_STRUCT_SIZE=%d\n", size);
20472049
return size;
20482050
}
20492051

@@ -2059,6 +2061,7 @@ static int jump_table_group_size(struct kpatch_elf *kelf, int offset)
20592061
size = atoi(str);
20602062
}
20612063

2064+
fprintf(stderr, "JUMP_STRUCT_SIZE=%d\n", size);
20622065
return size;
20632066
}
20642067

@@ -2074,6 +2077,7 @@ static int printk_index_group_size(struct kpatch_elf *kelf, int offset)
20742077
size = atoi(str);
20752078
}
20762079

2080+
fprintf(stderr, "PRINTK_INDEX_STRUCT_SIZE=%d\n", size);
20772081
return size;
20782082
}
20792083

@@ -2089,6 +2093,7 @@ static int parainstructions_group_size(struct kpatch_elf *kelf, int offset)
20892093
size = atoi(str);
20902094
}
20912095

2096+
fprintf(stderr, "PARA_STRUCT_SIZE=%d\n", size);
20922097
return size;
20932098
}
20942099

@@ -2104,6 +2109,7 @@ static int altinstructions_group_size(struct kpatch_elf *kelf, int offset)
21042109
size = atoi(str);
21052110
}
21062111

2112+
fprintf(stderr, "ALT_STRUCT_SIZE=%d\n", size);
21072113
return size;
21082114
}
21092115

@@ -2124,6 +2130,7 @@ static int static_call_sites_group_size(struct kpatch_elf *kelf, int offset)
21242130
size = atoi(str);
21252131
}
21262132

2133+
fprintf(stderr, "STATIC_CALL_STRUCT_SIZE=%d\n", size);
21272134
return size;
21282135
}
21292136

@@ -2144,6 +2151,7 @@ static int fixup_entry_group_size(struct kpatch_elf *kelf, int offset)
21442151
size = atoi(str);
21452152
}
21462153

2154+
fprintf(stderr, "FIXUP_STRUCT_SIZE=%d\n", size);
21472155
return size;
21482156
}
21492157

0 commit comments

Comments
 (0)