[lkml]   [2019]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 29/43] perf cs-etm: Fix erroneous comment
From: Mathieu Poirier <>

The comment just before initialising the decoder is plane wrong since it
is part of the decoding queue setup function and the operation code
specifically mention that trace data is to be decoded rather than printed

This patch simply fix the comment to prevent people from getting really

Signed-off-by: Mathieu Poirier <>
Cc: Jiri Olsa <>
Cc: Leo Yan <>
Cc: Peter Zijlstra <>
Cc: Suzuki K Poulouse <>
Signed-off-by: Arnaldo Carvalho de Melo <>
tools/perf/util/cs-etm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c
index f3a6dfaf3026..4cc9fce97a86 100644
--- a/tools/perf/util/cs-etm.c
+++ b/tools/perf/util/cs-etm.c
@@ -459,7 +459,7 @@ static struct cs_etm_queue *cs_etm__alloc_queue(struct cs_etm_auxtrace *etm,
if (cs_etm__init_trace_params(t_params, etm))
goto out_free;

- /* Set decoder parameters to simply print the trace packets */
+ /* Set decoder parameters to decode trace packets */
if (cs_etm__init_decoder_params(&d_params, etmq,
goto out_free;
 \ /
  Last update: 2019-02-15 01:50    [W:0.200 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site