{"name": "report__setup_sample_type", "code": "__int64 __fastcall report__setup_sample_type ( __int64 @@a1@@ ) { int @@v1@@ ; bool @@v3@@ ; __int64 @@v4@@ ; __int16 @@v5@@ ; @@v4@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v5@@ = perf_evlist__combined_sample_type ( * ( _QWORD * ) ( @@v4@@ + Number ) ) ; @@v1@@ = perf_data_file__is_pipe ( * ( _QWORD * ) ( @@v4@@ + Number ) ) ; @@v3@@ = @@v1@@ != Number ; if ( @@v1@@ || ( @@v5@@ & Number ) != Number ) { if ( * ( _BYTE * ) ( @@a1@@ + Number ) != Number ) { if ( callchain_param ) { if ( symbol_conf [ Number ] != Number ) { symbol_conf [ Number ] = Number ; if ( ( int ) callchain_register_param ( & callchain_param ) < Number ) { ui__error ( String ) ; return Number L ; } } } } } else { if ( sort__has_parent ) { ui__error ( String ) ; return Number L ; } if ( symbol_conf [ Number ] ) { ui__error ( String ) ; return Number ; } } if ( symbol_conf [ Number ] && ( @@v5@@ & Number ) == Number ) { symbol_conf [ Number ] = Number ; perf_hpp__cancel_cumulate ( ) ; } if ( sort__mode != Number || @@v3@@ || ( @@v5@@ & Number ) != Number ) return Number L ; ui__error ( String ) ; return Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "bool", "s": 1}, "location": "s25"}]}
{"name": "perf_data_file__is_pipe", "code": "__int64 __fastcall perf_data_file__is_pipe ( __int64 @@a1@@ ) { return * ( unsigned __int8 * ) ( @@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"}]}