{"name": "report__collapse_hists", "code": "unsigned __int64 __fastcall report__collapse_hists ( _QWORD * @@a1@@ ) { __int64 @@i@@ ; __int64 @@v3@@ ; __int64 @@v4@@ ; char @@v5@@ [ Number ] ; unsigned __int64 @@v6@@ ; @@v6@@ = __readfsqword ( Number ) ; ui_progress__init ( @@v5@@ , @@a1@@ [ Number ] , String ) ; for ( @@i@@ = * * ( _QWORD * * ) ( @@a1@@ [ Number ] + Number L ) ; @@i@@ != * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L ) ; @@i@@ = * ( _QWORD * ) @@i@@ ) { @@v3@@ = @@i@@ + Number ; if ( ! * ( _DWORD * ) ( @@i@@ + Number ) ) * ( _QWORD * ) ( @@i@@ + Number ) = @@a1@@ [ Number ] ; hists__collapse_resort ( @@v3@@ , @@v5@@ ) ; if ( symbol_conf [ Number ] && ! perf_evsel__is_group_leader ( @@i@@ ) ) { @@v4@@ = * ( _QWORD * ) ( @@i@@ + Number ) + Number L ; hists__match ( @@v4@@ , @@v3@@ ) ; hists__link ( @@v4@@ , @@v3@@ ) ; } } ui_progress__finish ( ) ; return __readfsqword ( Number ) ^ @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "v5", "t": {"T": 2, "n": 40, "s": 1, "t": "char"}, "location": "s48"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}]}
{"name": "perf_evsel__is_group_leader", "code": "bool __fastcall perf_evsel__is_group_leader ( __int64 @@a1@@ ) { return @@a1@@ == * ( _QWORD * ) ( @@a1@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "__cmd_report", "code": "__int64 __fastcall _cmd_report ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned int v2 ; unsigned int v3 ; unsigned int v4 ; _QWORD * @@i@@ ; __int64 @@v6@@ ; const char * * @@v7@@ ; @@v6@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v7@@ = * ( const char * * * ) ( @@v6@@ + Number ) ; signal ( Number , ( __sighandler_t ) sig_handler ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { v2 = perf_session__cpu_bitmap ( @@v6@@ , * ( _QWORD * ) ( @@a1@@ + Number ) , @@a1@@ + Number ) ; if ( v2 ) return v2 ; } if ( * ( _BYTE * ) ( @@a1@@ + Number ) ) perf_read_values_init ( @@a1@@ + Number ) ; v3 = report__setup_sample_type ( @@a1@@ ) ; if ( v3 ) return v3 ; v4 = perf_session__process_events ( @@v6@@ , @@a1@@ ) ; if ( v4 ) return v4 ; report__warn_kptr_restrict ( @@a1@@ ) ; if ( use_browser ) goto LABEL_17 ; if ( verbose > Number ) perf_session__fprintf ( @@v6@@ , stdout ) ; if ( verbose > Number ) perf_session__fprintf_dsos ( @@v6@@ , stdout ) ; if ( ! dump_trace ) { LABEL_17 : report__collapse_hists ( ( _QWORD * ) @@a1@@ ) ; if ( session_done ) { @@result@@ = Number L ; } else if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { for ( @@i@@ = * * ( _QWORD * * * ) ( @@v6@@ + Number ) ; @@i@@ != * ( _QWORD * * ) ( @@v6@@ + Number ) ; @@i@@ = ( _QWORD * ) * @@i@@ ) hists__output_resort ( @@i@@ + Number ) ; @@result@@ = report__browse_hists ( @@a1@@ ) ; } else { ui__error ( String , * @@v7@@ ) ; @@result@@ = Number L ; } } else { perf_session__fprintf_nr_events ( @@v6@@ , stdout ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v7", "t": {"T": 3, "t": "const char *"}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s48"}]}