aboutsummaryrefslogtreecommitdiff
path: root/util-linux/readprofile.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/readprofile.c')
-rw-r--r--util-linux/readprofile.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/util-linux/readprofile.c b/util-linux/readprofile.c
index 974fe89c4..a64540464 100644
--- a/util-linux/readprofile.c
+++ b/util-linux/readprofile.c
@@ -152,7 +152,7 @@ int readprofile_main(int argc UNUSED_PARAM, char **argv)
152 152
153 step = buf[0]; 153 step = buf[0];
154 if (optInfo) { 154 if (optInfo) {
155 printf("Sampling_step: %i\n", step); 155 printf("Sampling_step: %u\n", step);
156 return EXIT_SUCCESS; 156 return EXIT_SUCCESS;
157 } 157 }
158 158
@@ -219,10 +219,10 @@ int readprofile_main(int argc UNUSED_PARAM, char **argv)
219 && (fn_len = next_add-fn_add) != 0 219 && (fn_len = next_add-fn_add) != 0
220 ) { 220 ) {
221 if (optVerbose) 221 if (optVerbose)
222 printf("%016llx %-40s %6i %8.4f\n", fn_add, 222 printf("%016llx %-40s %6u %8.4f\n", fn_add,
223 fn_name, this, this/(double)fn_len); 223 fn_name, this, this/(double)fn_len);
224 else 224 else
225 printf("%6i %-40s %8.4f\n", 225 printf("%6u %-40s %8.4f\n",
226 this, fn_name, this/(double)fn_len); 226 this, fn_name, this/(double)fn_len);
227 if (optSub) { 227 if (optSub) {
228 unsigned long long scan; 228 unsigned long long scan;
@@ -246,14 +246,14 @@ int readprofile_main(int argc UNUSED_PARAM, char **argv)
246 } 246 }
247 247
248 /* clock ticks, out of kernel text - probably modules */ 248 /* clock ticks, out of kernel text - probably modules */
249 printf("%6i %s\n", buf[len/sizeof(*buf)-1], "*unknown*"); 249 printf("%6u %s\n", buf[len/sizeof(*buf)-1], "*unknown*");
250 250
251 /* trailer */ 251 /* trailer */
252 if (optVerbose) 252 if (optVerbose)
253 printf("%016x %-40s %6i %8.4f\n", 253 printf("%016x %-40s %6u %8.4f\n",
254 0, "total", total, total/(double)(fn_add-add0)); 254 0, "total", total, total/(double)(fn_add-add0));
255 else 255 else
256 printf("%6i %-40s %8.4f\n", 256 printf("%6u %-40s %8.4f\n",
257 total, "total", total/(double)(fn_add-add0)); 257 total, "total", total/(double)(fn_add-add0));
258 258
259 fclose(map); 259 fclose(map);