Lines Matching refs:record

41 struct record {  struct
56 static int record__write(struct record *rec, void *bf, size_t size) in record__write() argument
72 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event()
76 static int record__mmap_read(struct record *rec, int idx) in record__mmap_read()
151 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace()
184 static int record__auxtrace_mmap_read(struct record *rec, in record__auxtrace_mmap_read()
200 static int record__auxtrace_mmap_read_snapshot(struct record *rec, in record__auxtrace_mmap_read_snapshot()
217 static int record__auxtrace_read_snapshot_all(struct record *rec) in record__auxtrace_read_snapshot_all()
238 static void record__read_auxtrace_snapshot(struct record *rec) in record__read_auxtrace_snapshot()
253 int record__auxtrace_mmap_read(struct record *rec __maybe_unused, in record__auxtrace_mmap_read()
260 void record__read_auxtrace_snapshot(struct record *rec __maybe_unused) in record__read_auxtrace_snapshot()
272 static int record__open(struct record *rec) in record__open()
339 struct record *rec = container_of(tool, struct record, tool); in process_sample_event()
346 static int process_buildids(struct record *rec) in process_buildids()
402 static int record__mmap_read_all(struct record *rec) in record__mmap_read_all()
436 static void record__init_features(struct record *rec) in record__init_features()
475 static int __cmd_record(struct record *rec, int argc, const char **argv) in __cmd_record()
803 struct record_opts *record = (struct record_opts *)opt->value; in record_parse_callchain_opt() local
805 record->callgraph_set = true; in record_parse_callchain_opt()
826 struct record_opts *record = (struct record_opts *)opt->value; in record_callchain_opt() local
828 record->callgraph_set = true; in record_callchain_opt()
990 static struct record record = { variable
1025 OPT_CALLBACK('e', "event", &record.evlist, "event",
1028 OPT_CALLBACK(0, "filter", &record.evlist, "filter",
1030 OPT_CALLBACK_NOOPT(0, "exclude-perf", &record.evlist,
1033 OPT_STRING('p', "pid", &record.opts.target.pid, "pid",
1035 OPT_STRING('t', "tid", &record.opts.target.tid, "tid",
1037 OPT_INTEGER('r', "realtime", &record.realtime_prio,
1039 OPT_BOOLEAN(0, "no-buffering", &record.opts.no_buffering,
1041 OPT_BOOLEAN('R', "raw-samples", &record.opts.raw_samples,
1043 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide,
1045 OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu",
1047 OPT_U64('c', "count", &record.opts.user_interval, "event period to sample"),
1048 OPT_STRING('o', "output", &record.file.path, "file",
1050 OPT_BOOLEAN_SET('i', "no-inherit", &record.opts.no_inherit,
1051 &record.opts.no_inherit_set,
1053 OPT_UINTEGER('F', "freq", &record.opts.user_freq, "profile at this frequency"),
1054 OPT_CALLBACK('m', "mmap-pages", &record.opts, "pages[,pages]",
1057 OPT_BOOLEAN(0, "group", &record.opts.group,
1059 OPT_CALLBACK_NOOPT('g', NULL, &record.opts,
1062 OPT_CALLBACK(0, "call-graph", &record.opts,
1068 OPT_BOOLEAN('s', "stat", &record.opts.inherit_stat,
1070 OPT_BOOLEAN('d', "data", &record.opts.sample_address, "Record the sample addresses"),
1071 OPT_BOOLEAN_SET('T', "timestamp", &record.opts.sample_time,
1072 &record.opts.sample_time_set,
1074 OPT_BOOLEAN('P', "period", &record.opts.period, "Record the sample period"),
1075 OPT_BOOLEAN('n', "no-samples", &record.opts.no_samples,
1077 OPT_BOOLEAN('N', "no-buildid-cache", &record.no_buildid_cache,
1079 OPT_BOOLEAN('B', "no-buildid", &record.no_buildid,
1081 OPT_CALLBACK('G', "cgroup", &record.evlist, "name",
1084 OPT_UINTEGER('D', "delay", &record.opts.initial_delay,
1086 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user",
1089 OPT_CALLBACK_NOOPT('b', "branch-any", &record.opts.branch_stack,
1093 OPT_CALLBACK('j', "branch-filter", &record.opts.branch_stack,
1096 OPT_BOOLEAN('W', "weight", &record.opts.sample_weight,
1098 OPT_BOOLEAN(0, "transaction", &record.opts.sample_transaction,
1100 OPT_BOOLEAN(0, "per-thread", &record.opts.target.per_thread,
1102 OPT_CALLBACK_OPTARG('I', "intr-regs", &record.opts.sample_intr_regs, NULL, "any register",
1105 OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
1107 OPT_CALLBACK('k', "clockid", &record.opts,
1110 OPT_STRING_OPTARG('S', "snapshot", &record.opts.auxtrace_snapshot_opts,
1112 OPT_UINTEGER(0, "proc-map-timeout", &record.opts.proc_map_timeout,
1114 OPT_BOOLEAN(0, "switch-events", &record.opts.record_switch_events,
1130 struct record *rec = &record; in cmd_record()
1223 err = __cmd_record(&record, argc, argv); in cmd_record()
1236 auxtrace_snapshot_err = auxtrace_record__snapshot_start(record.itr); in snapshot_sig_handler()