{"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": "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": "hists__fprintf_nr_sample_events", "code": "__int64 __fastcall hists__fprintf_nr_sample_events ( __int64 @@a1@@ , __int64 @@a2@@ , const char * @@a3@@ , FILE * @@a4@@ ) { __int64 v4 ; int v5 ; int v6 ; int v7 ; int v8 ; char @@v12@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; __int64 @@v15@@ ; __int64 @@i@@ ; __int64 @@v17@@ ; __int64 * @@v18@@ ; __int64 @@v19@@ ; __int64 @@v20@@ ; __int64 @@v21@@ ; char @@v22@@ [ Number ] ; unsigned __int64 @@v23@@ ; @@v23@@ = __readfsqword ( Number ) ; @@v14@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; @@v15@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v17@@ = @@a1@@ ; @@v18@@ = ( __int64 * ) ( @@a1@@ - Number ) ; @@v19@@ = Number L ; if ( symbol_conf [ Number ] ) { @@v14@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; @@v15@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; } if ( perf_evsel__is_group_event ( ( __int64 ) @@v18@@ ) ) { perf_evsel__group_desc ( @@v18@@ , @@v22@@ , @@v19@@ ) ; @@a3@@ = @@v22@@ ; @@v20@@ = * @@v18@@ ; for ( @@i@@ = @@v20@@ ; @@i@@ && @@v18@@ == * ( __int64 * * ) ( @@i@@ + Number ) ; @@i@@ = @@v21@@ ) { if ( symbol_conf [ Number ] ) { @@v14@@ += * ( unsigned int * ) ( @@i@@ + Number ) ; v4 = * ( _QWORD * ) ( @@i@@ + Number ) ; } else { @@v14@@ += * ( unsigned int * ) ( @@i@@ + Number ) ; v4 = * ( _QWORD * ) ( @@i@@ + Number ) ; } @@v15@@ += v4 ; @@v21@@ = * ( _QWORD * ) @@i@@ ; } } @@v14@@ = convert_unit ( @@v14@@ , & @@v12@@ ) ; @@v13@@ = fprintf ( @@a4@@ , String , @@v14@@ , ( unsigned int ) @@v12@@ ) ; if ( @@a3@@ ) { v5 = fprintf ( @@a4@@ , String , @@a3@@ ) ; @@v13@@ += v5 ; } if ( * ( _BYTE * ) ( @@a2@@ + Number ) ) { v6 = fprintf ( @@a4@@ , String , @@v15@@ ) ; @@v13@@ += v6 ; v7 = fprintf ( @@a4@@ , String , sort_order ) ; } else { v7 = fprintf ( @@a4@@ , String , @@v15@@ ) ; } @@v13@@ += v7 ; v8 = fprintf ( @@a4@@ , String ) ; return v8 + @@v13@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "FILE"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v22", "t": {"T": 2, "n": 520, "s": 1, "t": "char"}, "location": "s528"}, {"n": "v21", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s536"}, {"n": "v20", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s544"}, {"n": "v19", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s552"}, {"n": "v18", "t": {"T": 3, "t": "__int64"}, "location": "s560"}, {"n": "v17", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s568"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s576"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s584"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s592"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s600"}, {"n": "v12", "t": {"T": 1, "n": "char", "s": 1}, "location": "s601"}, {"n": "v23", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"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"}]}