Date: Mon, 17 Dec 2007 23:07:53 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 131136 for review Message-ID: <200712172307.lBHN7rMF036182@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131136 Change 131136 by peter@peter_daintree on 2007/12/17 23:07:25 Store the build_uuid in the minidump header. Affected files ... .. //depot/projects/hammer/sys/amd64/amd64/minidump_machdep.c#3 edit .. //depot/projects/hammer/sys/amd64/include/minidump.h#2 edit Differences ... ==== //depot/projects/hammer/sys/amd64/amd64/minidump_machdep.c#3 (text) ==== @@ -34,6 +34,7 @@ #include <sys/kernel.h> #include <sys/kerneldump.h> #include <sys/msgbuf.h> +#include <sys/sysctl.h> #include <vm/vm.h> #include <vm/pmap.h> #include <machine/atomic.h> @@ -277,6 +278,7 @@ mdhdr.kernbase = KERNBASE; mdhdr.dmapbase = DMAP_MIN_ADDRESS; mdhdr.dmapend = DMAP_MAX_ADDRESS; + strncpy(mdhdr.build_uuid, build_uuid, sizeof(mdhdr.build_uuid) - 1); mkdumpheader(&kdh, KERNELDUMP_AMD64_VERSION, dumpsize, di->blocksize); ==== //depot/projects/hammer/sys/amd64/include/minidump.h#2 (text) ==== @@ -41,6 +41,7 @@ uint64_t kernbase; uint64_t dmapbase; uint64_t dmapend; + char build_uuid[40]; }; #endif /* _MACHINE_MINIDUMP_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712172307.lBHN7rMF036182>