xentrace is a useful tool, but it supports only limited number of variables. (up to 7 varaibles) This patch is a quick hack to allow more number of variables. (Not sure how many variables can be supported.. maybe to the point xentrace buffer allows..) MYXTRACE macro dumps your array into xentrace buffer. (maybe you can use it to dump your binary data?)
This is only a quick hack, so don't use it on production run! Some high bits of TSC field of the header are used, so if TSC overflows, it will fail. (safe for 24 hours on 3GHz machine) Use it only for development/reserach purposes.