{"name": "report__browse_hists", "code": "__int64 __fastcall report__browse_hists ( __int64 @@a1@@ ) { unsigned int @@v2@@ ; __int64 @@v3@@ ; _QWORD * * @@v4@@ ; @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v4@@ = * ( _QWORD * * * ) ( @@v3@@ + Number ) ; if ( use_browser == Number ) { @@v2@@ = perf_evlist__tui_browse_hists ( @@v4@@ , String , Number L , @@v3@@ + Number , * ( double * ) _mm_cvtsi32_si128 ( * ( _DWORD * ) ( @@a1@@ + Number ) ) . m128i_i64 ) ; if ( @@v2@@ != Number ) @@v2@@ = Number ; } else if ( use_browser == Number ) { @@v2@@ = report__gtk_browse_hists ( @@a1@@ , ( __int64 ) String ) ; } else { @@v2@@ = perf_evlist__tty_browse_hists ( @@v4@@ , @@a1@@ , String ) ; } return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 3, "t": "_QWORD *"}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s36"}]}
{"name": "perf_evlist__tty_browse_hists", "code": "__int64 __fastcall perf_evlist__tty_browse_hists ( _QWORD * * @@a1@@ , __int64 @@a2@@ , const char * @@a3@@ ) { bool @@v5@@ ; _QWORD * @@i@@ ; __int64 @@v7@@ ; const char * @@v8@@ ; for ( @@i@@ = * @@a1@@ ; @@i@@ != @@a1@@ ; @@i@@ = ( _QWORD * ) * @@i@@ ) { @@v7@@ = ( __int64 ) ( @@i@@ + Number ) ; @@v8@@ = ( const char * ) perf_evsel__name ( @@i@@ ) ; if ( ! symbol_conf [ Number ] || perf_evsel__is_group_leader ( ( __int64 ) @@i@@ ) ) { hists__fprintf_nr_sample_events ( @@v7@@ , @@a2@@ , @@v8@@ , stdout ) ; hists__fprintf ( @@v7@@ , Number L , Number L , Number L , stdout , * ( double * ) _mm_cvtsi32_si128 ( * ( _DWORD * ) ( @@a2@@ + Number ) ) . m128i_i64 ) ; fwrite ( String , Number , Number , stdout ) ; } } if ( ( _UNKNOWN * ) sort_order == & default_sort_order && ( _UNKNOWN * ) parent_pattern == & default_parent_pattern ) { fprintf ( stdout , String , @@a3@@ ) ; if ( * ( _BYTE * ) ( @@a2@@ + Number ) ) { @@v5@@ = strcmp ( * ( const char * * ) ( @@a2@@ + Number ) , String ) == Number ; perf_read_values_display ( stdout , @@a2@@ + Number , @@v5@@ ) ; perf_read_values_destroy ( @@a2@@ + Number ) ; } } return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD *"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v8", "t": {"T": 3, "t": "const char"}, "location": "s24"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s48"}, {"n": "v5", "t": {"T": 1, "n": "bool", "s": 1}, "location": "s49"}]} {"name": "report__gtk_browse_hists", "code": "__int64 __fastcall report__gtk_browse_hists ( __int64 @@a1@@ , __int64 @@a2@@ ) { void * @@v3@@ ; @@v3@@ = dlsym ( perf_gtk_handle , String ) ; if ( @@v3@@ ) return ( ( __int64 ( __fastcall * ) ( _QWORD , __int64 , _QWORD , double ) ) @@v3@@ ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , @@a2@@ , Number L , * ( double * ) _mm_cvtsi32_si128 ( * ( _DWORD * ) ( @@a1@@ + Number ) ) . m128i_i64 ) ; ui__error ( String ) ; return Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "void"}, "location": "s16"}]} {"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"}]}