]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf intel-pt: Factor out intel_pt_update_sample_time
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 20 May 2019 11:37:10 +0000 (14:37 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Jun 2019 12:47:54 +0000 (09:47 -0300)
commit948e9dc8bb266649a618ac974010292bf36fb213
tree95ed9da8270232dff5d4457f2e33660592128bdf
parentd194d8fccf610a3f5cdfa94f2bbbe6b89e11a295
perf intel-pt: Factor out intel_pt_update_sample_time

To eliminate some duplication and make the code more understandable,
factor out intel_pt_update_sample_time.

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