Lines Matching refs:synth_opts
1320 void itrace_synth_opts__set_default(struct itrace_synth_opts *synth_opts, in itrace_synth_opts__set_default() argument
1323 synth_opts->branches = true; in itrace_synth_opts__set_default()
1324 synth_opts->transactions = true; in itrace_synth_opts__set_default()
1325 synth_opts->ptwrites = true; in itrace_synth_opts__set_default()
1326 synth_opts->pwr_events = true; in itrace_synth_opts__set_default()
1327 synth_opts->other_events = true; in itrace_synth_opts__set_default()
1328 synth_opts->errors = true; in itrace_synth_opts__set_default()
1329 synth_opts->flc = true; in itrace_synth_opts__set_default()
1330 synth_opts->llc = true; in itrace_synth_opts__set_default()
1331 synth_opts->tlb = true; in itrace_synth_opts__set_default()
1332 synth_opts->remote_access = true; in itrace_synth_opts__set_default()
1335 synth_opts->period_type = PERF_ITRACE_PERIOD_INSTRUCTIONS; in itrace_synth_opts__set_default()
1336 synth_opts->period = 1; in itrace_synth_opts__set_default()
1337 synth_opts->calls = true; in itrace_synth_opts__set_default()
1339 synth_opts->instructions = true; in itrace_synth_opts__set_default()
1340 synth_opts->period_type = PERF_ITRACE_DEFAULT_PERIOD_TYPE; in itrace_synth_opts__set_default()
1341 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_synth_opts__set_default()
1343 synth_opts->callchain_sz = PERF_ITRACE_DEFAULT_CALLCHAIN_SZ; in itrace_synth_opts__set_default()
1344 synth_opts->last_branch_sz = PERF_ITRACE_DEFAULT_LAST_BRANCH_SZ; in itrace_synth_opts__set_default()
1345 synth_opts->initial_skip = 0; in itrace_synth_opts__set_default()
1397 struct itrace_synth_opts *synth_opts = opt->value; in itrace_parse_synth_opts() local
1403 synth_opts->set = true; in itrace_parse_synth_opts()
1406 synth_opts->dont_decode = true; in itrace_parse_synth_opts()
1411 itrace_synth_opts__set_default(synth_opts, in itrace_parse_synth_opts()
1412 synth_opts->default_no_sample); in itrace_parse_synth_opts()
1419 synth_opts->instructions = true; in itrace_parse_synth_opts()
1423 synth_opts->period = strtoull(p, &endptr, 10); in itrace_parse_synth_opts()
1430 synth_opts->period_type = in itrace_parse_synth_opts()
1435 synth_opts->period_type = in itrace_parse_synth_opts()
1440 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1443 synth_opts->period *= 1000; in itrace_parse_synth_opts()
1448 synth_opts->period_type = in itrace_parse_synth_opts()
1460 synth_opts->branches = true; in itrace_parse_synth_opts()
1463 synth_opts->transactions = true; in itrace_parse_synth_opts()
1466 synth_opts->ptwrites = true; in itrace_parse_synth_opts()
1469 synth_opts->pwr_events = true; in itrace_parse_synth_opts()
1472 synth_opts->other_events = true; in itrace_parse_synth_opts()
1475 synth_opts->errors = true; in itrace_parse_synth_opts()
1476 if (get_flags(&p, &synth_opts->error_plus_flags, in itrace_parse_synth_opts()
1477 &synth_opts->error_minus_flags)) in itrace_parse_synth_opts()
1481 synth_opts->log = true; in itrace_parse_synth_opts()
1482 if (get_flags(&p, &synth_opts->log_plus_flags, in itrace_parse_synth_opts()
1483 &synth_opts->log_minus_flags)) in itrace_parse_synth_opts()
1487 synth_opts->branches = true; in itrace_parse_synth_opts()
1488 synth_opts->calls = true; in itrace_parse_synth_opts()
1491 synth_opts->branches = true; in itrace_parse_synth_opts()
1492 synth_opts->returns = true; in itrace_parse_synth_opts()
1497 synth_opts->add_callchain = true; in itrace_parse_synth_opts()
1499 synth_opts->callchain = true; in itrace_parse_synth_opts()
1500 synth_opts->callchain_sz = in itrace_parse_synth_opts()
1511 synth_opts->callchain_sz = val; in itrace_parse_synth_opts()
1517 synth_opts->add_last_branch = true; in itrace_parse_synth_opts()
1519 synth_opts->last_branch = true; in itrace_parse_synth_opts()
1520 synth_opts->last_branch_sz = in itrace_parse_synth_opts()
1532 synth_opts->last_branch_sz = val; in itrace_parse_synth_opts()
1536 synth_opts->initial_skip = strtoul(p, &endptr, 10); in itrace_parse_synth_opts()
1542 synth_opts->flc = true; in itrace_parse_synth_opts()
1545 synth_opts->llc = true; in itrace_parse_synth_opts()
1548 synth_opts->tlb = true; in itrace_parse_synth_opts()
1551 synth_opts->remote_access = true; in itrace_parse_synth_opts()
1554 synth_opts->quick += 1; in itrace_parse_synth_opts()
1564 if (synth_opts->instructions) { in itrace_parse_synth_opts()
1566 synth_opts->period_type = in itrace_parse_synth_opts()
1569 synth_opts->period = PERF_ITRACE_DEFAULT_PERIOD; in itrace_parse_synth_opts()