Lines Matching refs:synth_opts

973 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts,  in itrace_synth_opts__set_default()  argument
976 synth_opts->branches = true; in itrace_synth_opts__set_default()
977 synth_opts->transactions = true; in itrace_synth_opts__set_default()
978 synth_opts->ptwrites = true; in itrace_synth_opts__set_default()
979 synth_opts->pwr_events = true; in itrace_synth_opts__set_default()
980 synth_opts->other_events = true; in itrace_synth_opts__set_default()
981 synth_opts->errors = true; in itrace_synth_opts__set_default()
983 synth_opts->period_type = PERF_ITRACE_PERIOD_INSTRUCTIONS; in itrace_synth_opts__set_default()
984 synth_opts->period = 1; in itrace_synth_opts__set_default()
985 synth_opts->calls = true; in itrace_synth_opts__set_default()
987 synth_opts->instructions = true; in itrace_synth_opts__set_default()
988 synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE; in itrace_synth_opts__set_default()
989 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_synth_opts__set_default()
991 synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ; in itrace_synth_opts__set_default()
992 synth_opts->last_branch_sz = PERF_ITRACE_DEFAULT_LAST_BRANCH_SZ; in itrace_synth_opts__set_default()
993 synth_opts->initial_skip = 0; in itrace_synth_opts__set_default()
1004 struct itrace_synth_opts *synth_opts = opt->value; in itrace_parse_synth_opts() local
1010 synth_opts->set = true; in itrace_parse_synth_opts()
1013 synth_opts->dont_decode = true; in itrace_parse_synth_opts()
1018 itrace_synth_opts__set_default(synth_opts, in itrace_parse_synth_opts()
1019 synth_opts->default_no_sample); in itrace_parse_synth_opts()
1026 synth_opts->instructions = true; in itrace_parse_synth_opts()
1030 synth_opts->period = strtoull(p, &endptr, 10); in itrace_parse_synth_opts()
1037 synth_opts->period_type = in itrace_parse_synth_opts()
1042 synth_opts->period_type = in itrace_parse_synth_opts()
1047 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1050 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1055 synth_opts->period_type = in itrace_parse_synth_opts()
1067 synth_opts->branches = true; in itrace_parse_synth_opts()
1070 synth_opts->transactions = true; in itrace_parse_synth_opts()
1073 synth_opts->ptwrites = true; in itrace_parse_synth_opts()
1076 synth_opts->pwr_events = true; in itrace_parse_synth_opts()
1079 synth_opts->other_events = true; in itrace_parse_synth_opts()
1082 synth_opts->errors = true; in itrace_parse_synth_opts()
1085 synth_opts->log = true; in itrace_parse_synth_opts()
1088 synth_opts->branches = true; in itrace_parse_synth_opts()
1089 synth_opts->calls = true; in itrace_parse_synth_opts()
1092 synth_opts->branches = true; in itrace_parse_synth_opts()
1093 synth_opts->returns = true; in itrace_parse_synth_opts()
1096 synth_opts->callchain = true; in itrace_parse_synth_opts()
1097 synth_opts->callchain_sz = in itrace_parse_synth_opts()
1108 synth_opts->callchain_sz = val; in itrace_parse_synth_opts()
1112 synth_opts->last_branch = true; in itrace_parse_synth_opts()
1113 synth_opts->last_branch_sz = in itrace_parse_synth_opts()
1125 synth_opts->last_branch_sz = val; in itrace_parse_synth_opts()
1129 synth_opts->initial_skip = strtoul(p, &endptr, 10); in itrace_parse_synth_opts()
1142 if (synth_opts->instructions) { in itrace_parse_synth_opts()
1144 synth_opts->period_type = in itrace_parse_synth_opts()
1147 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_parse_synth_opts()