Author: fijal
Branch: vmprof-newstack
Changeset: r82076:35f680ad059c
Date: 2016-02-04 18:15 +0100
http://bitbucket.org/pypy/pypy/changeset/35f680ad059c/
Log: bump the version one level
diff --git a/rpython/rlib/rvmprof/src/vmprof_common.h
b/rpython/rlib/rvmprof/src/vmprof_common.h
--- a/rpython/rlib/rvmprof/src/vmprof_common.h
+++ b/rpython/rlib/rvmprof/src/vmprof_common.h
@@ -18,6 +18,7 @@
#define VERSION_BASE '\x00'
#define VERSION_THREAD_ID '\x01'
+#define VERSION_TAG '\x02'
typedef struct prof_stacktrace_s {
char padding[sizeof(long) - 1];
@@ -64,7 +65,7 @@
header.hdr[4] = 0;
header.interp_name[0] = MARKER_HEADER;
header.interp_name[1] = '\x00';
- header.interp_name[2] = VERSION_THREAD_ID;
+ header.interp_name[2] = VERSION_TAG;
header.interp_name[3] = namelen;
memcpy(&header.interp_name[4], interp_name, namelen);
return _write_all((char*)&header, 5 * sizeof(long) + 4 + namelen);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit