perf: print both ipsec_perf tool and library versions
@@ -3313,8 +3313,11 @@ int main(int argc, char *argv[])
fprintf(stderr, "TSC scaling to core cycles: %.3f\n",
get_tsc_to_core_scale(turbo_enabled));
- fprintf(stderr, "SHA size incr = %d\n", sha_size_incr);
- fprintf(stderr, "Library version: %s\n", IMB_VERSION_STR);
+ fprintf(stderr,
+ "SHA size incr = %d\n"
+ "Tool version: %s\n"
+ "Library version: %s\n",
+ sha_size_incr, IMB_VERSION_STR, imb_get_version_str());
if (custom_job_params.cipher_mode == TEST_GCM)
fprintf(stderr, "GCM AAD = %"PRIu64"\n", gcm_aad_size);
