Lines Matching refs:pckt
723 __collector_write_record (DataHandle *hndl, Common_packet *pckt)
728 if (pckt->type == 0)
729 pckt->type = hndl->kind;
730 if (pckt->tstamp == 0)
731 pckt->tstamp = __collector_gethrtime ();
732 if (pckt->lwp_id == 0)
733 pckt->lwp_id = __collector_lwp_self ();
734 if (pckt->thr_id == 0)
735 pckt->thr_id = __collector_thr_self ();
736 if (pckt->cpu_id == 0)
737 pckt->cpu_id = CALL_UTIL (getcpuid)();
738 if (pckt->tsize == 0)
739 pckt->tsize = sizeof (Common_packet);
741 hndl->fname, pckt->type, pckt->tsize);
742 return __collector_write_packet (hndl, (CM_Packet*) pckt);
746 __collector_write_packet (DataHandle *hndl, CM_Packet *pckt)
779 int recsz = pckt->tsize;
845 __collector_memcpy (bptr + blkoff, pckt, recsz);