perf intel-pt: Re-factor TIP cases in intel_pt_walk_to_ip
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 May 2019 11:37:16 +0000 (14:37 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 12:47:56 +0000 (09:47 -0300)
commitf3c98c4b5ac831f29b1cc19fa84d3c8401f846d6
tree0700d373cc2dadf19234d1597967f74ccbc6c0f2
parent9bc668e3bca8fadc50d5a121a1992a72ada0d3f4
perf intel-pt: Re-factor TIP cases in intel_pt_walk_to_ip

To make it easier to add new code for different TIP cases, separate each
case.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/20190520113728.14389-11-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt-decoder/intel-pt-decoder.c