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