Lines Matching defs:key
189 "Unknown --sort key: `%s'", tok);
267 struct kwork_work *key,
276 cmp = work_cmp(sort_list, key, work);
283 work->name = key->name;
291 struct kwork_work *key, struct list_head *sort_list)
301 cmp = work_cmp(sort_list, key, cur);
311 rb_link_node(&key->node, parent, new);
312 rb_insert_color_cached(&key->node, root, leftmost);
315 static struct kwork_work *work_new(struct kwork_work *key)
328 work->id = key->id;
329 work->cpu = key->cpu;
330 work->name = key->name;
331 work->class = key->class;
336 struct kwork_work *key,
339 struct kwork_work *work = work_search(root, key, sort_list);
344 work = work_new(key);
398 struct kwork_work *work, key;
401 class->work_init(class, &key, evsel, sample, machine);
407 work = work_findnew(&class->work_root, &key, &kwork->cmp_id);
445 struct kwork_work *work, key;
448 class->work_init(class, &key, evsel, sample, machine);
450 work = work_findnew(&class->work_root, &key, &kwork->cmp_id);
1456 struct kwork_work *key)
1460 work = work_new(key);
1623 "Unknown --event key: `%s'", tok);
1738 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]",
1739 "sort by key(s): runtime, max, count"),
1757 OPT_STRING('s', "sort", &kwork.sort_order, "key[,key2...]",
1758 "sort by key(s): avg, max, count"),