aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2019-06-22 12:32:45 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-06-25 08:47:10 -0300
commit5fe2cf7d19c48f2b53b57e6a5786972bc1b8d738 (patch)
tree4365e1e0b8b5234bcff2024e63728a3f71702aee /tools/perf/util/scripting-engines/trace-event-python.c
parent51b091861828f5801207a00211ea4e94102389c3 (diff)
perf intel-pt: Synthesize CBR events when last seen value changes
The first core-to-bus ratio (CBR) event will not be shown if --itrace 's' option (skip initial number of events) is used, nor if time intervals are specified that do not include the start of tracing. Change the logic to record the last CBR value seen by the user, and synthesize CBR events whenever that changes. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/20190622093248.581-5-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions