Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 2 of 2) sorted by relevance

/tools/perf/
Dbuiltin-trace.c132 ({ struct syscall_tp *sc = evsel->priv;\
133 perf_evsel__init_tp_uint_field(evsel, &sc->name, #name); })
148 ({ struct syscall_tp *sc = evsel->priv;\
149 perf_evsel__init_tp_ptr_field(evsel, &sc->name, #name); })
1431 static int syscall__set_arg_fmts(struct syscall *sc) in syscall__set_arg_fmts() argument
1436 sc->arg_scnprintf = calloc(sc->tp_format->format.nr_fields - 1, sizeof(void *)); in syscall__set_arg_fmts()
1437 if (sc->arg_scnprintf == NULL) in syscall__set_arg_fmts()
1440 if (sc->fmt) in syscall__set_arg_fmts()
1441 sc->arg_parm = sc->fmt->arg_parm; in syscall__set_arg_fmts()
1443 for (field = sc->tp_format->format.fields->next; field; field = field->next) { in syscall__set_arg_fmts()
[all …]
Dbuiltin-stat.c954 double sc = evsel->scale; in abs_printout() local
959 fmt = sc != 1.0 ? "%.2f%s" : "%.0f%s"; in abs_printout()
962 fmt = sc != 1.0 ? "%'18.2f%s" : "%'18.0f%s"; in abs_printout()
964 fmt = sc != 1.0 ? "%18.2f%s" : "%18.0f%s"; in abs_printout()