diff options
author | Kan Liang <[email protected]> | 2020-03-19 13:25:10 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-04-18 09:05:01 -0300 |
commit | 9c6c3f471d85a9b0bcda3ce6fc1e2646685e3f60 (patch) | |
tree | 56ded07276f2adf4b3f1a0d0d32430bca581d4d2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 771fd155dfaa5332da69d606db16fe27bd9d388d (diff) |
perf thread: Save previous sample for LBR stitching approach
To retrieve the overwritten LBRs from previous sample for LBR stitching
approach, perf has to save the previous sample.
Only allocate the struct lbr_stitch once, when LBR stitching approach is
enabled and kernel supports hw_idx.
Signed-off-by: Kan Liang <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexey Budankov <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Pavel Gerasimov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Vitaly Slobodskoy <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
[ Use zalloc()/zfree() for thread->lbr_stitch ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions