Lines Matching refs:addfield

120 static void addfield(char *map, char **dst, const char *sep,  in addfield()  function
579 addfield(map, &umask, "", "umask=", val); in json_events()
581 addfield(map, &cmask, "", "cmask=", val); in json_events()
583 addfield(map, &inv, "", "inv=", val); in json_events()
585 addfield(map, &any, "", "any=", val); in json_events()
587 addfield(map, &edge, "", "edge=", val); in json_events()
589 addfield(map, &period, "", "period=", val); in json_events()
591 addfield(map, &fc_mask, "", "fc_mask=", val); in json_events()
593 addfield(map, &ch_mask, "", "ch_mask=", val); in json_events()
596 addfield(map, &code, "", "", val); in json_events()
601 addfield(map, &code, "", "", val); in json_events()
607 addfield(map, &code, "", "", val); in json_events()
611 addfield(map, &je.name, "", "", val); in json_events()
613 addfield(map, &je.compat, "", "", val); in json_events()
615 addfield(map, &je.desc, "", "", val); in json_events()
619 addfield(map, &je.long_desc, "", "", val); in json_events()
629 addfield(map, &extra_desc, ". ", in json_events()
632 addfield(map, &extra_desc, ". ", in json_events()
644 addfield(map, &je.pmu, "", "", val); in json_events()
649 addfield(map, &filter, "", "", val); in json_events()
651 addfield(map, &je.unit, "", "", val); in json_events()
653 addfield(map, &je.perpkg, "", "", val); in json_events()
655 addfield(map, &je.aggr_mode, "", "", val); in json_events()
657 addfield(map, &je.deprecated, "", "", val); in json_events()
659 addfield(map, &je.metric_name, "", "", val); in json_events()
661 addfield(map, &je.metric_group, "", "", val); in json_events()
663 addfield(map, &je.metric_constraint, "", "", val); in json_events()
665 addfield(map, &je.metric_expr, "", "", val); in json_events()
667 addfield(map, &arch_std, "", "", val); in json_events()
675 addfield(map, &extra_desc, " ", in json_events()
678 addfield(map, &extra_desc, " ", in json_events()
685 addfield(map, &event, ",", buf, NULL); in json_events()
687 addfield(map, &event, ",", any, NULL); in json_events()
689 addfield(map, &event, ",", ch_mask, NULL); in json_events()
691 addfield(map, &event, ",", cmask, NULL); in json_events()
693 addfield(map, &event, ",", edge, NULL); in json_events()
695 addfield(map, &event, ",", fc_mask, NULL); in json_events()
697 addfield(map, &event, ",", inv, NULL); in json_events()
699 addfield(map, &event, ",", period, NULL); in json_events()
701 addfield(map, &event, ",", umask, NULL); in json_events()
704 addfield(map, &je.desc, " ", extra_desc, NULL); in json_events()
706 addfield(map, &je.long_desc, " ", extra_desc, NULL); in json_events()
708 addfield(map, &je.desc, ". ", "Unit: ", NULL); in json_events()
709 addfield(map, &je.desc, "", je.pmu, NULL); in json_events()
710 addfield(map, &je.desc, "", " ", NULL); in json_events()
713 addfield(map, &event, ",", filter, NULL); in json_events()
715 addfield(map, &event, ",", msr->pname, msrval); in json_events()