perf tools: Add debug messages and comments for testing
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 12 Sep 2022 08:34:11 +0000 (11:34 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 4 Oct 2022 11:55:23 +0000 (08:55 -0300)
commitda4062021e0e6da52d4919b6d77dbd77fa847f97
tree9269e7def2fa36b1785bbede8897a199c963525e
parent2c1c9e351a43878043684be92615d7002c8ea0c6
perf tools: Add debug messages and comments for testing

Add debug messages to enable scripts to track aspects of 'perf record'
behaviour. The messages will be consumed after 'perf record' has run,
with the exception of "perf record has started" which is consequently
flushed.

Put comments so developers know which messages are also being used by test
scripts.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220912083412.7058-11-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/perf/evlist.c
tools/perf/builtin-record.c
tools/perf/util/evsel.c