diff --git a/tools/perf/util/record.c b/tools/perf/util/record.c index e70c9dd04567..1c1f24d9b6d0 100644 --- a/tools/perf/util/record.c +++ b/tools/perf/util/record.c @@ -201,10 +201,10 @@ static int record_opts__config_freq(struct record_opts *opts) * Default frequency is over current maximum. */ if (max_rate < opts->freq) { - pr_warning("Lowering default frequency rate to %u.\n" + pr_warning("Lowering default frequency rate from %u to %u.\n" "Please consider tweaking " "/proc/sys/kernel/perf_event_max_sample_rate.\n", - max_rate); + opts->freq, max_rate); opts->freq = max_rate; }