From: Robert R. <rob...@am...> - 2011-11-24 11:51:00
|
On 23.11.11 15:39:36, Andreas Krebbel wrote: > On 11/21/2011 05:01 PM, Robert Richter wrote: > >> + counter_config.kernel = 1; > >> + counter_config.user = 1; > > > > Both parameters usually mean 'exclude_user/exclude_kernel' to have the > > defaults 0. Thus, bits must be inverted in the code. > > Are you sure? User space writes 1s in order to enable profiling of kernel/user address > spaces and the values seem to get written without inversion into the kernel files. And it > also appears to be documented that way. Also the default events for other platforms always > have both values set to 1. No, checked this again and you are right. -Robert -- Advanced Micro Devices, Inc. Operating System Research Center |