{"name": "symbol__size", "code": "__int64 __fastcall symbol__size ( __int64 @@a1@@ ) { return * ( _QWORD * ) ( @@a1@@ + Number ) - * ( _QWORD * ) ( @@a1@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "symbol__alloc_hist", "code": "__int64 __fastcall symbol__alloc_hist ( __int64 @@a1@@ ) { __int64 @@v2@@ ; unsigned __int64 @@v3@@ ; unsigned __int64 @@v4@@ ; @@v2@@ = symbol__annotation ( @@a1@@ ) ; @@v3@@ = symbol__size ( @@a1@@ ) ; if ( @@v3@@ > Number ) return Number ; @@v4@@ = Number * ( @@v3@@ + Number ) ; if ( @@v4@@ > Number / * ( unsigned __int16 * ) & symbol_conf [ Number ] ) return Number ; * ( _QWORD * ) ( @@v2@@ + Number ) = zalloc ( @@v4@@ * * ( unsigned __int16 * ) & symbol_conf [ Number ] + Number ) ; if ( ! * ( _QWORD * ) ( @@v2@@ + Number ) ) return Number ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@v2@@ + Number ) + Number L ) = @@v4@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v2@@ + Number ) + Number L ) = * ( unsigned __int16 * ) & symbol_conf [ Number ] ; INIT_LIST_HEAD ( * ( _QWORD * * ) ( @@v2@@ + Number ) ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]} {"name": "symbol__alloc_hist_cycles", "code": "__int64 __fastcall symbol__alloc_hist_cycles ( __int64 @@a1@@ ) { __int64 @@v1@@ ; __int64 @@result@@ ; __int64 @@v3@@ ; __int64 @@nmemb@@ ; @@v3@@ = symbol__annotation ( @@a1@@ ) ; @@nmemb@@ = symbol__size ( @@a1@@ ) ; @@v1@@ = * ( _QWORD * ) ( @@v3@@ + Number ) ; * ( _QWORD * ) ( @@v1@@ + Number ) = calloc ( @@nmemb@@ , Number ) ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) ) @@result@@ = Number L ; else @@result@@ = Number ; return @@result@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "nmemb", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}]} {"name": "symbol__annotate_zero_histograms", "code": "unsigned __int64 __fastcall symbol__annotate_zero_histograms ( __int64 @@a1@@ ) { __int64 @@v1@@ ; pthread_mutex_t * @@mutex@@ ; unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; @@mutex@@ = ( pthread_mutex_t * ) symbol__annotation ( @@a1@@ ) ; pthread_mutex_lock ( @@mutex@@ ) ; if ( @@mutex@@ [ Number ] . __align ) { memset ( ( void * ) ( @@mutex@@ [ Number ] . __align + Number ) , Number , * ( int * ) ( @@mutex@@ [ Number ] . __align + Number ) * * ( _QWORD * ) ( @@mutex@@ [ Number ] . __align + Number ) ) ; if ( * ( _QWORD * ) ( @@mutex@@ [ Number ] . __align + Number ) ) { @@v1@@ = symbol__size ( @@a1@@ ) ; memset ( * ( void * * ) ( @@mutex@@ [ Number ] . __align + Number ) , Number , Number * @@v1@@ ) ; } } pthread_mutex_unlock ( @@mutex@@ ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "mutex", "t": {"T": 3, "t": "pthread_mutex_t"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__annotate_hits", "code": "unsigned __int64 __fastcall symbol__annotate_hits ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int64 @@i@@ ; __int64 @@v4@@ ; _QWORD * @@v5@@ ; unsigned __int64 @@v6@@ ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; @@v4@@ = symbol__annotation ( @@a1@@ ) ; @@v5@@ = ( _QWORD * ) annotation__histogram ( @@v4@@ , * ( _DWORD * ) ( @@a2@@ + Number ) ) ; @@v6@@ = symbol__size ( @@a1@@ ) ; for ( @@i@@ = Number L ; @@i@@ < @@v6@@ ; ++ @@i@@ ) { if ( @@v5@@ [ @@i@@ + Number ] ) printf ( String , Number , * ( _QWORD * ) ( @@a1@@ + Number ) + @@i@@ , @@v5@@ [ @@i@@ + Number ] ) ; } printf ( String , Number , String , * @@v5@@ ) ; return __readfsqword ( Number ) ^ @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "v5", "t": {"T": 3, "t": "_QWORD"}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s40"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__annotate_printf", "code": "__int64 __fastcall symbol__annotate_printf ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , char @@a4@@ , int @@a5@@ , int @@a6@@ , int @@a7@@ ) { int @@v8@@ ; int @@v13@@ ; int @@v14@@ ; unsigned int @@v15@@ ; int @@v16@@ ; int @@v17@@ ; int @@v18@@ ; const char * @@s@@ ; __int64 * @@i@@ ; __int64 * @@v21@@ ; __int64 @@v22@@ ; char * @@v23@@ ; __int64 @@v24@@ ; __int64 @@v25@@ ; char * @@path@@ ; __int64 @@v27@@ ; @@v22@@ = * ( _QWORD * ) ( @@a2@@ + Number ) ; @@v23@@ = ( char * ) perf_evsel__name ( @@a3@@ ) ; @@v24@@ = symbol__annotation ( @@a1@@ ) ; @@v21@@ = Number L ; @@v25@@ = map__rip_2objdump ( @@a2@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v13@@ = Number ; @@v14@@ = Number ; @@v15@@ = Number ; @@v16@@ = Number ; @@path@@ = strdup ( * ( const char * * ) ( @@v22@@ + Number ) ) ; if ( ! @@path@@ ) return Number L ; if ( @@a4@@ ) @@s@@ = @@path@@ ; else @@s@@ = _xpg_basename ( @@path@@ ) ; @@v27@@ = symbol__size ( @@a1@@ ) ; @@v17@@ = strlen ( @@s@@ ) ; @@v18@@ = strlen ( @@v23@@ ) ; if ( perf_evsel__is_group_event ( @@a3@@ ) ) @@v16@@ = Number * * ( _DWORD * ) ( @@a3@@ + Number ) ; printf ( String , @@v16@@ , @@v16@@ , String , @@s@@ , @@v23@@ ) ; printf ( String , @@v17@@ + @@v16@@ + @@v18@@ , @@v17@@ + @@v16@@ + @@v18@@ , graph_dotted_line ) ; if ( verbose ) symbol__annotate_hits ( @@a1@@ , @@a3@@ ) ; for ( @@i@@ = * * ( __int64 * * * ) ( @@v24@@ + Number ) ; @@i@@ != * ( __int64 * * ) ( @@v24@@ + Number ) ; @@i@@ = ( __int64 * ) * @@i@@ ) { if ( @@a7@@ && ! @@v21@@ ) { @@v21@@ = @@i@@ ; @@v14@@ = Number ; } @@v8@@ = disasm_line__print ( ( __int64 ) @@i@@ , @@a1@@ , @@v25@@ , @@a3@@ , @@v27@@ , @@a5@@ , @@v13@@ , @@a6@@ , @@v21@@ ) ; if ( @@v8@@ ) { if ( @@v8@@ == Number ) { ++ @@v15@@ ; } else if ( @@a7@@ ) { if ( @@v14@@ == @@a7@@ ) @@v21@@ = ( __int64 * ) * @@v21@@ ; else ++ @@v14@@ ; } } else { ++ @@v13@@ ; if ( @@a7@@ ) { @@v13@@ += @@v14@@ ; @@v21@@ = Number L ; @@v14@@ = Number ; } } } free ( @@path@@ ) ; return @@v15@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "char", "s": 1}, "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": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s-16"}, {"n": "s", "t": {"T": 3, "t": "const char"}, "location": "s104"}, {"n": "v18", "t": {"T": 1, "n": "int", "s": 4}, "location": "s112"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s116"}, {"n": "v16", "t": {"T": 1, "n": "int", "s": 4}, "location": "s120"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s124"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s128"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s132"}, {"n": "v27", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "path", "t": {"T": 3, "t": "char"}, "location": "s48"}, {"n": "v25", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v24", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v23", "t": {"T": 3, "t": "char"}, "location": "s72"}, {"n": "v22", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}, {"n": "v21", "t": {"T": 3, "t": "__int64"}, "location": "s88"}, {"n": "i", "t": {"T": 3, "t": "__int64"}, "location": "s96"}]} {"name": "symbol__annotate_decay_histogram", "code": "unsigned __int64 __fastcall symbol__annotate_decay_histogram ( __int64 @@a1@@ , int @@a2@@ ) { int @@i@@ ; int @@v4@@ ; __int64 @@v5@@ ; _QWORD * @@v6@@ ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; @@v5@@ = symbol__annotation ( @@a1@@ ) ; @@v6@@ = ( _QWORD * ) annotation__histogram ( @@v5@@ , @@a2@@ ) ; @@v4@@ = symbol__size ( @@a1@@ ) ; * @@v6@@ = Number L ; for ( @@i@@ = Number ; @@i@@ < @@v4@@ ; ++ @@i@@ ) { @@v6@@ [ @@i@@ + Number ] = ( unsigned __int64 ) ( Number L * @@v6@@ [ @@i@@ + Number ] ) >> Number ; * @@v6@@ += @@v6@@ [ @@i@@ + Number ] ; } return __readfsqword ( Number ) ^ @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v6", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__tty_annotate", "code": "__int64 __fastcall symbol__tty_annotate ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , char @@a4@@ , char @@a5@@ , int @@a6@@ , int @@a7@@ ) { __int64 @@v8@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; __int64 @@v15@@ ; unsigned __int64 @@v16@@ ; @@v16@@ = __readfsqword ( Number ) ; @@v14@@ = * ( _QWORD * ) ( @@a2@@ + Number ) ; @@v13@@ = Number L ; if ( ( int ) symbol__annotate ( @@a1@@ , @@a2@@ , Number L ) < Number ) return Number ; @@v15@@ = symbol__size ( @@a1@@ ) ; if ( @@a4@@ ) { srcline_full_filename = @@a5@@ ; symbol__get_source_line ( @@a1@@ , @@a2@@ , @@a3@@ , & @@v13@@ , @@v15@@ ) ; print_summary ( & @@v13@@ , * ( const char * * ) ( @@v14@@ + Number ) ) ; } symbol__annotate_printf ( @@a1@@ , @@a2@@ , @@a3@@ , @@a5@@ , @@a6@@ , @@a7@@ , Number ) ; if ( @@a4@@ ) symbol__free_source_line ( @@a1@@ , @@v15@@ ) ; @@v8@@ = symbol__annotation ( @@a1@@ ) ; disasm__purge ( * ( _QWORD * * * ) ( @@v8@@ + Number ) ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "char", "s": 1}, "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": "a5", "t": {"T": 1, "n": "char", "s": 1}, "location": "r72"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s-16"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v16", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}