Use shared profiling info for encode, write and hexl operations.