aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2022-01-24 10:41:38 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-02-15 17:05:41 -0300
commit6816c25478f0617b1f0008b3db3f5370757d33a8 (patch)
tree323f956690a98a1a035b29c3d7db628b7cb846d2
parentperf intel-pt: pkt-decoder-test: Fix scope of test_data (diff)
downloadlinux-dev-6816c25478f0617b1f0008b3db3f5370757d33a8.tar.xz
linux-dev-6816c25478f0617b1f0008b3db3f5370757d33a8.zip
perf intel-pt: pkt-decoder: Remove misplaced linebreak
Minor whitespace fix up. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: https://lore.kernel.org/r/20220124084201.2699795-3-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c b/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c
index 4bd154848cad..fada96746705 100644
--- a/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c
+++ b/tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c
@@ -197,8 +197,7 @@ static int intel_pt_get_mnt(const unsigned char *buf, size_t len,
return INTEL_PT_NEED_MORE_BYTES;
packet->type = INTEL_PT_MNT;
memcpy_le64(&packet->payload, buf + 3, 8);
- return 11
-;
+ return 11;
}
static int intel_pt_get_3byte(const unsigned char *buf, size_t len,