File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ include(ExternalProject)
3
3
ExternalProject_Add(FlameGraph
4
4
GIT_REPOSITORY "https://github.com/brendangregg/FlameGraph.git"
5
5
UPDATE_COMMAND ""
6
- PATCH_COMMAND ""
6
+ PATCH_COMMAND patch < ${CMAKE_SOURCE_DIR} /rootbench-scripts/stackcollapse-perf.patch
7
7
CONFIGURE_COMMAND ""
8
8
BUILD_COMMAND ""
9
9
INSTALL_COMMAND ""
10
10
EXCLUDE_FROM_ALL 1
11
11
)
12
+
13
+
Original file line number Diff line number Diff line change
1
+ diff --git a/stackcollapse-perf.pl b/stackcollapse-perf.pl
2
+ index e91f7de..fe88660 100755
3
+ --- a/stackcollapse-perf.pl
4
+ +++ b/stackcollapse-perf.pl
5
+ @@ -80,7 +80,7 @@ my $include_pid = 0; # include process ID with process name
6
+ my $include_tid = 0; # include process & thread ID with process name
7
+ my $include_addrs = 0; # include raw address where a symbol can't be found
8
+ my $tidy_java = 1; # condense Java signatures
9
+ - my $tidy_generic = 1; # clean up function names a little
10
+ + my $tidy_generic = 0; # clean up function names a little
11
+ my $target_pname; # target process name from perf invocation
12
+ my $event_filter = ""; # event type filter, defaults to first encountered event
13
+ my $event_defaulted = 0; # whether we defaulted to an event (none provided)
You can’t perform that action at this time.
0 commit comments