File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1002,6 +1002,10 @@ hist_entry__cmp(struct hist_entry *left, struct hist_entry *right)
1002
1002
int64_t cmp = 0 ;
1003
1003
1004
1004
hists__for_each_sort_list (hists , fmt ) {
1005
+ if (perf_hpp__is_dynamic_entry (fmt ) &&
1006
+ !perf_hpp__defined_dynamic_entry (fmt , hists ))
1007
+ continue ;
1008
+
1005
1009
cmp = fmt -> cmp (fmt , left , right );
1006
1010
if (cmp )
1007
1011
break ;
@@ -1018,6 +1022,10 @@ hist_entry__collapse(struct hist_entry *left, struct hist_entry *right)
1018
1022
int64_t cmp = 0 ;
1019
1023
1020
1024
hists__for_each_sort_list (hists , fmt ) {
1025
+ if (perf_hpp__is_dynamic_entry (fmt ) &&
1026
+ !perf_hpp__defined_dynamic_entry (fmt , hists ))
1027
+ continue ;
1028
+
1021
1029
cmp = fmt -> collapse (fmt , left , right );
1022
1030
if (cmp )
1023
1031
break ;
You can’t perform that action at this time.
0 commit comments