Skip to content

perf tools: Add a thread stack for synthesizing call chains

Adrian Hunter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf tools: Add a thread stack for synthesizing call chainstools/perf/Makefile.perf tools/perf/util/event.h tools/perf/util/thread-stack.c +3 more+238 -01 reply
2/7perf tools: Add branch type to db exporttools/perf/util/db-export.c tools/perf/util/db-export.h+54 -00 replies
3/7perf tools: Add branch_type and in_tx to Python exporttools/perf/scripts/python/export-to-postgresql.py tools/perf/util/scripting-engines/trace-event-python.c+55 -70 replies
4/7perf tools: Enhance the thread stack to output call/return datatools/perf/util/thread-stack.c tools/perf/util/thread-stack.h+659 -51 reply
5/7perf tools: Add call information to the database export APItools/perf/util/db-export.c tools/perf/util/db-export.h+63 -10 replies
6/7perf tools: Add call information to Python exporttools/perf/scripts/python/bin/export-to-postgresql-report tools/perf/scripts/python/export-to-postgresql.py tools/perf/util/scripting-engines/trace-event-python.c+158 -70 replies
7/7perf tools: Defer export of comms that were not 'set'tools/perf/util/db-export.c tools/perf/util/db-export.h tools/perf/util/scripting-engines/trace-event-python.c+67 -20 replies

Reviews trailers per patch

2 of 7 patches have a Reviewed-by or Acked-by.

PatchJiri Olsa
1/7A-b
2/7
3/7
4/7A-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] perf tools: Add a thread stack for synthesizing call chains

Hi

Here are the thread stack patches again. Please let me know if you want more explanation.

Changes:

perf tools: Add a thread stack for synthesizing call chains
Added some error returns
Renamed PERF_FLAGS_ to PERF_IP_FLAGS_

perf tools: Enhance the thread stack to output call/return data
Expanded commit message
Added more comments

Adrian Hunter (7):
perf tools: Add a thread stack for synthesizing call chains perf tools: Add branch type to db export
perf tools: Add branch_type and in_tx to Python export perf tools: Enhance the thread stack to output call/return data perf tools: Add call information to the database export API perf tools: Add call information to Python export perf tools: Defer export of comms that were not 'set'

 tools/perf/Makefile.perf                           |   2 +
 .../scripts/python/bin/export-to-postgresql-report |  15 +-
 tools/perf/scripts/python/export-to-postgresql.py  |  98 ++-
 tools/perf/util/db-export.c                        | 162 ++++-
 tools/perf/util/db-export.h                        |  21 +
 tools/perf/util/event.h                            |  26 +
 .../util/scripting-engines/trace-event-python.c    | 118 +++-
 tools/perf/util/thread-stack.c                     | 747 +++++++++++++++++++++
 tools/perf/util/thread-stack.h                     | 111 +++
 tools/perf/util/thread.c                           |   3 +
 tools/perf/util/thread.h                           |   3 +
 11 files changed, 1289 insertions(+), 17 deletions(-)
 create mode 100644 tools/perf/util/thread-stack.c
 create mode 100644 tools/perf/util/thread-stack.h

Regards
Adrian