]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf ui browser annotate: Show in the title the source code view toggle
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Apr 2025 22:03:43 +0000 (19:03 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Apr 2025 13:46:29 +0000 (10:46 -0300)
commitc6043d35c0f3eb5bcbeb6309e10c4ae33d203841
treeaaa997b0d66b9d88c1664b0b5fa2bf0662b36177
parent5e74ec5ccfbee4c512b5582aef8f6eceffdd850b
perf ui browser annotate: Show in the title the source code view toggle

Ingo reported that having a visual cue if the source code view is
enabled will help in noticing a bug when no source is presented.

Change the title scnprintf routine for the annotation browser to do
that.

More work is needed to have the capabilities of the existing
disassemblers listed somehow and start using the fastest one but switch
to another that provides features only made available by some particular
one, like the first one, the objdump output parsing one.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/Z_TYux5fUg2pW-pF@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c