Lines Matching refs:synth_opts
967 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts) in itrace_synth_opts__set_default() argument
969 synth_opts->instructions = true; in itrace_synth_opts__set_default()
970 synth_opts->branches = true; in itrace_synth_opts__set_default()
971 synth_opts->transactions = true; in itrace_synth_opts__set_default()
972 synth_opts->ptwrites = true; in itrace_synth_opts__set_default()
973 synth_opts->pwr_events = true; in itrace_synth_opts__set_default()
974 synth_opts->errors = true; in itrace_synth_opts__set_default()
975 synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE; in itrace_synth_opts__set_default()
976 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_synth_opts__set_default()
977 synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ; in itrace_synth_opts__set_default()
978 synth_opts->last_branch_sz = PERF_ITRACE_DEFAULT_LAST_BRANCH_SZ; in itrace_synth_opts__set_default()
979 synth_opts->initial_skip = 0; in itrace_synth_opts__set_default()
990 struct itrace_synth_opts *synth_opts = opt->value; in itrace_parse_synth_opts() local
996 synth_opts->set = true; in itrace_parse_synth_opts()
999 synth_opts->dont_decode = true; in itrace_parse_synth_opts()
1004 itrace_synth_opts__set_default(synth_opts); in itrace_parse_synth_opts()
1011 synth_opts->instructions = true; in itrace_parse_synth_opts()
1015 synth_opts->period = strtoull(p, &endptr, 10); in itrace_parse_synth_opts()
1022 synth_opts->period_type = in itrace_parse_synth_opts()
1027 synth_opts->period_type = in itrace_parse_synth_opts()
1032 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1035 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1040 synth_opts->period_type = in itrace_parse_synth_opts()
1052 synth_opts->branches = true; in itrace_parse_synth_opts()
1055 synth_opts->transactions = true; in itrace_parse_synth_opts()
1058 synth_opts->ptwrites = true; in itrace_parse_synth_opts()
1061 synth_opts->pwr_events = true; in itrace_parse_synth_opts()
1064 synth_opts->errors = true; in itrace_parse_synth_opts()
1067 synth_opts->log = true; in itrace_parse_synth_opts()
1070 synth_opts->branches = true; in itrace_parse_synth_opts()
1071 synth_opts->calls = true; in itrace_parse_synth_opts()
1074 synth_opts->branches = true; in itrace_parse_synth_opts()
1075 synth_opts->returns = true; in itrace_parse_synth_opts()
1078 synth_opts->callchain = true; in itrace_parse_synth_opts()
1079 synth_opts->callchain_sz = in itrace_parse_synth_opts()
1090 synth_opts->callchain_sz = val; in itrace_parse_synth_opts()
1094 synth_opts->last_branch = true; in itrace_parse_synth_opts()
1095 synth_opts->last_branch_sz = in itrace_parse_synth_opts()
1107 synth_opts->last_branch_sz = val; in itrace_parse_synth_opts()
1111 synth_opts->initial_skip = strtoul(p, &endptr, 10); in itrace_parse_synth_opts()
1124 if (synth_opts->instructions) { in itrace_parse_synth_opts()
1126 synth_opts->period_type = in itrace_parse_synth_opts()
1129 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_parse_synth_opts()