arm-spe/cs-etm: Print size using consistent format
v2 cover arm-spe/cs-etm: Print size using consistent format
Sent as a splitted re-roll of patchset [1] to keep the patches more semantically grouped. The patches themselves have been tested and reviewed in the previous submission already.
Changes since v1:
- Sent as a separate patchset.
- Added acme to the recipients list as I forgot to include him in [1].
[1] https://lore.kernel.org/all/[email protected]/
Andrew Kilroy (2):
perf cs-etm: Print size using consistent format perf arm-spe: Print size using consistent format
tools/perf/util/arm-spe.c | 2 +- tools/perf/util/cs-etm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1
PATCH v2 1/2 perf cs-etm: Print size using consistent format
From: Andrew Kilroy <[email protected]>
Since the size is already printed earlier in hex, print the same data using the same format, in hex.
--- tools/perf/util/cs-etm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/cs-etm.c +1 -1
@@ -537,7 +537,7 @@ static void cs_etm__dump_event(struct cs_etm_queue *etmq,fprintf (stdout,"\n" );color_fprintf (stdout, color, -". ... CoreSight %s Trace data: size %zu bytes\n" , +". ... CoreSight %s Trace data: size %#zx bytes\n" ,cs_etm_decoder__get_name (etmq->decoder), buffer->size); do {
Signature · 1 line
2.25.1
PATCH v2 2/2 perf arm-spe: Print size using consistent format
In reply to German GomezFrom: Andrew Kilroy <[email protected]>
Since the size is already printed earlier in hex, print the same data using the same format, in hex.
--- tools/perf/util/arm-spe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/arm-spe.c +1 -1
@@ -100,7 +100,7 @@ static void arm_spe_dump(struct arm_spe *spe __maybe_unused,const char *color =PERF_COLOR_BLUE ;color_fprintf (stdout, color, -". ... ARM SPE data: size %zu bytes\n" , +". ... ARM SPE data: size %#zx bytes\n" , len);while (len) {
Signature · 1 line
2.25.1
Em Tue, Nov 09, 2021 at 02:21:51PM +0000, German Gomez escreveu:
Quoted 7 lines
Sent as a splitted re-roll of patchset [1] to keep the patches more semantically grouped. The patches themselves have been tested and reviewed in the previous submission already.
Changes since v1:
- Sent as a separate patchset.
- Added acme to the recipients list as I forgot to include him in [1].
Thanks, applied.
- Arnaldo
Quoted 12 lines
[1] https://lore.kernel.org/all/[email protected]/
Andrew Kilroy (2):
perf cs-etm: Print size using consistent format perf arm-spe: Print size using consistent formattools/perf/util/arm-spe.c | 2 +- tools/perf/util/cs-etm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Signature · 1 line
2.25.1
Signature · 1 line
- Arnaldo