Lines Matching refs:record

36 struct record {  struct
50 static int record__write(struct record *rec, void *bf, size_t size) in record__write() argument
66 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event()
70 static int record__mmap_read(struct record *rec, int idx) in record__mmap_read()
136 static int record__open(struct record *rec) in record__open()
200 struct record *rec = container_of(tool, struct record, tool); in process_sample_event()
207 static int process_buildids(struct record *rec) in process_buildids()
266 static int record__mmap_read_all(struct record *rec) in record__mmap_read_all()
292 static void record__init_features(struct record *rec) in record__init_features()
326 static int __cmd_record(struct record *rec, int argc, const char **argv) in __cmd_record()
815 static struct record record = { variable
852 OPT_CALLBACK('e', "event", &record.evlist, "event",
855 OPT_CALLBACK(0, "filter", &record.evlist, "filter",
857 OPT_STRING('p', "pid", &record.opts.target.pid, "pid",
859 OPT_STRING('t', "tid", &record.opts.target.tid, "tid",
861 OPT_INTEGER('r', "realtime", &record.realtime_prio,
863 OPT_BOOLEAN(0, "no-buffering", &record.opts.no_buffering,
865 OPT_BOOLEAN('R', "raw-samples", &record.opts.raw_samples,
867 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide,
869 OPT_STRING('C', "cpu", &record.opts.target.cpu_list, "cpu",
871 OPT_U64('c', "count", &record.opts.user_interval, "event period to sample"),
872 OPT_STRING('o', "output", &record.file.path, "file",
874 OPT_BOOLEAN_SET('i', "no-inherit", &record.opts.no_inherit,
875 &record.opts.no_inherit_set,
877 OPT_UINTEGER('F', "freq", &record.opts.user_freq, "profile at this frequency"),
878 OPT_CALLBACK('m', "mmap-pages", &record.opts.mmap_pages, "pages",
881 OPT_BOOLEAN(0, "group", &record.opts.group,
883 OPT_CALLBACK_NOOPT('g', NULL, &record.opts,
886 OPT_CALLBACK(0, "call-graph", &record.opts,
892 OPT_BOOLEAN('s', "stat", &record.opts.inherit_stat,
894 OPT_BOOLEAN('d', "data", &record.opts.sample_address,
896 OPT_BOOLEAN('T', "timestamp", &record.opts.sample_time, "Sample timestamps"),
897 OPT_BOOLEAN('P', "period", &record.opts.period, "Sample period"),
898 OPT_BOOLEAN('n', "no-samples", &record.opts.no_samples,
900 OPT_BOOLEAN('N', "no-buildid-cache", &record.no_buildid_cache,
902 OPT_BOOLEAN('B', "no-buildid", &record.no_buildid,
904 OPT_CALLBACK('G', "cgroup", &record.evlist, "name",
907 OPT_UINTEGER('D', "delay", &record.opts.initial_delay,
909 OPT_STRING('u', "uid", &record.opts.target.uid_str, "user",
912 OPT_CALLBACK_NOOPT('b', "branch-any", &record.opts.branch_stack,
916 OPT_CALLBACK('j', "branch-filter", &record.opts.branch_stack,
919 OPT_BOOLEAN('W', "weight", &record.opts.sample_weight,
921 OPT_BOOLEAN(0, "transaction", &record.opts.sample_transaction,
923 OPT_BOOLEAN(0, "per-thread", &record.opts.target.per_thread,
925 OPT_BOOLEAN('I', "intr-regs", &record.opts.sample_intr_regs,
927 OPT_BOOLEAN(0, "running-time", &record.opts.running_time,
929 OPT_CALLBACK('k', "clockid", &record.opts,
940 struct record *rec = &record; in cmd_record()
1010 err = __cmd_record(&record, argc, argv); in cmd_record()