]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel-pt: decoder: Factor out clearing of FUP (Flow Update) event variables
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 24 Jan 2022 08:41:42 +0000 (10:41 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Feb 2022 20:06:58 +0000 (17:06 -0300)
commitf664647edae76cd5943b243509010a4f4f0e57d6
tree212d9e439940e8fc4357cb871118d9a9340a6a1c
parentfaa3d0271c0f3ecb64e6e81b7a9abfcbdd606c8b
perf intel-pt: decoder: Factor out clearing of FUP (Flow Update) event variables

Factor out clearing of FUP (Flow Update) event variables, to avoid code duplication.

Committer Notes:

From the Intel documentation:

<quote>
Flow Update Packets (FUP): FUPs provide the source IP addresses for
asynchronous events (interrupt and exceptions), as well as other cases
where the source address cannot be determined from the binary.
</quote>

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-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c