Hi Will,

Thanks very much for the report, it helps me greatly. I think I know
what the problem is, it is those pesky umasks. One of the problems being
a virtual employee of no less than 3 institutions is my lack of control
over real hardware. I'm beginning to think about soliciting donations
for old boxes to test perfmon on. HP would rather kill me than give
outsiders access to their machines and I assume Redhat is nearly as
careful. We of course have dozens of machines at UT, but as I said,
their perfctr bound due to contractual support of production systems.
Sound familiar? Ugh. 

In regards to your lockup, Stefane has informed me that numerous systems
have issue with printk...I have seen hard lockups with this as well when
I enabled debugging, both on my p3 laptop and various MIPS beasties. 

BTW, 2 totally unrelated things. a) Did you ever get that message I sent
from the broadcom guys about fixes to the event maps for pfm? (Which I
generated from oprofile's files, did you see that script? I've attached
it for fun. It does not handle umasks.) b) I have updated
perfmon/oprofile kernel support in my copy of the kernel tree for MIPS.
I haven't tested it, but will soon. I know there are still a few things
broken in user land (clockrate for example), but I want to see if at
least the oprofile+perfmon kernel component is doing the right thing.
Will keep you posted.

Again, thanks for you help.

phil

 from theOn Tue, 2006-10-31 at 13:59 -0500, William Cohen wrote:
> Philip J. Mucci wrote:
> > Shoot, that's what I get for trying to fix things too fast. Thanks for
> > the fix.
> > 
> > One thing Will, can you rebuild PAPI with --with-debug to configure and
> > then set PAPI_DEBUG=SUBSTRATE?
> > 
> > That will tell us a lot more information. But before you do that please
> > run papi_native_avail and papi_avail from the test suite. They should
> > each show a few events available....But I know there are problems with
> > the umasks, will try and track that down.
> > 
> > I wish I had access to some of this hardware.
> > 
> > Phil
> 
> Hi Phil,
> 
> This is being run on a 2.6.18 kernel with the perfmon patchs. The libpfm is 
> the 
> snapshot from 060926. I don't know if this might be a version issue, but it 
> can't hurt to include those details. I reconfigured with the additional 
> option. 
> I also turned on /sys/kernel/perfmon/debug (the messages.txt file).
> 
> 
> PAPI_DEBUG=SUBSTRATE ./utils/papi_command_line PAPI_TOT_CYC >& /tmp/output.txt
> 
> It looks like the actual write to the pmc is the problem. I should add that 
> when 
> I try to run pfmon after this that the machine locks up. I assumpte that the 
> is 
> an oops. However, I have a GUI console so I can't see the specific panic that 
> is 
> occurring on my laptop.
> 
> I understand the desire and need to have access to the actual hardware. In 
> theory things should work, but the details are very processor specific, so 
> one 
> needs to check that things work in practice. I have a mix of machines in my 
> office (Penium III, Pentium M, Xeon, AMD64, and Athlon) due to checking 
> things 
> on OProfile.
> 
> -Will
> plain text document attachment (output.txt)
> SUBSTRATE:perfmon.c:_papi_hwd_init_substrate:2558: pfm_initialize()
> SUBSTRATE:perfmon.c:_papi_hwd_init_substrate:2565: pfm_get_pmu_type(0x5e2490)
> SUBSTRATE:perfmon.c:_papi_hwd_init_substrate:2572: 
> pfm_get_pmu_name(0x5e24a0,40)
> SUBSTRATE:perfmon.c:_papi_hwd_init_substrate:2578: PMU is a AMD64, type 16
> SUBSTRATE:perfmon.c:_papi_hwd_init_substrate:2580: 
> pfm_get_version(0x7fff9a9c6640)
> SUBSTRATE:perfmon.c:_papi_hwd_init_substrate:2599: 
> pfm_set_options(0x7fff9a9c6630)
> SUBSTRATE:perfmon.c:_papi_hwd_init_substrate:2609: 
> pfm_get_num_events(0x7fff9a9c6644)
> SUBSTRATE:perfmon.c:get_system_info:1686: Executable is papi_command_line
> SUBSTRATE:perfmon.c:get_system_info:1687: Full Executable is 
> /home/wcohen/research/profiling/papi/cvs/papi-3-2-0/papi/src/utils/papi_command_line
> SUBSTRATE:perfmon.c:get_system_info:1696: Text: Start 0x400000, End 0x43d000, 
> length 249856
> SUBSTRATE:perfmon.c:get_system_info:1701: Data: Start 0x53d000, End 0x552000, 
> length 86016
> SUBSTRATE:perfmon.c:get_system_info:1706: Bss: Start 0x552000, End 0x4605000, 
> length 67842048
> SUBSTRATE:perfmon.c:init_amd:820: Initializing AMD (K7) memory
> SUBSTRATE:perfmon.c:init_amd:826: eax=0xff08ff08 ebx=0xff20ff20 
> ecx=0x40020140 edx=0x40020140
> SUBSTRATE:perfmon.c:init_amd:864: L1 TLB info (to be over-written by L2):
> SUBSTRATE:perfmon.c:init_amd:867:     I-num_entries 32,  I-assoc 32767
>       D-num_entries 32,  D-assoc 32767
> SUBSTRATE:perfmon.c:init_amd:905: eax=0x00000000 ebx=0x42004200 
> ecx=0x04008140 edx=0x00000000
> SUBSTRATE:perfmon.c:x86_get_memory_info:992: Detected L1: 131072 L2: 1048576  
> L3: 0
> SUBSTRATE:perfmon.c:get_system_info:1735: Found 1 AuthenticAMD(2) AMD 
> Turion(tm) 64 Mobile Technology ML-37(16) CPU's at 800.000000 Mhz.
> SUBSTRATE:perfmon.c:load_preset_table:1889: 0x5e2480
> SUBSTRATE:perfmon.c:load_preset_table:1900: Opening 
> /usr/local/share/papi/perfmon_events.csv
> SUBSTRATE:perfmon.c:load_preset_table:1913: Open 
> /usr/local/share/papi/perfmon_events.csv succeeded.
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 1
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 2
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 3
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 4
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 5
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 6
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPS20KC) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 7
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 8
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 9
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 10
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 11
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 12
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 13
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 14
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPS24K) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 15
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 16
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPS25KF) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 17
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 18
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 19
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 20
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 21
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 22
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 23
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 24
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 25
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 26
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 27
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 28
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 29
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 30
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 31
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPS34K) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 32
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 33
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPS5KC) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 34
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 35
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 36
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 37
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 38
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 39
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 40
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 41
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 42
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 43
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 44
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 45
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 46
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 47
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 48
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 49
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 50
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPS74K) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 51
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 52
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPSR10000) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 53
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 54
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPSR12000) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 55
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 56
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPSRM7000) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 57
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 58
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPSRM9000) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 59
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 60
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPSSB1) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 61
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 62
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPSVR5432) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 63
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 64
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (MIPSVR5500) vs. 
> (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 65
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 66
> SUBSTRATE:perfmon.c:load_preset_table:1943: Examining CPU (AMD64) vs. (AMD64)
> SUBSTRATE:perfmon.c:load_preset_table:1948: Found CPU AMD64 at line 66 of 
> /usr/local/share/papi/perfmon_events.csv.
> SUBSTRATE:perfmon.c:load_preset_table:1952: No additional qualifier found, 
> matching on string.
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 67
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 68
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_FP_INS
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000034 for PAPI_FP_INS
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000034,0,RETIRED_MMX_AND_FP_INSTRUCTIONS:X87:SCALAR_SSE_AND_SSE2 to 
> preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 69
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_VEC_INS
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000038 for PAPI_VEC_INS
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000038,0,RETIRED_MMX_AND_FP_INSTRUCTIONS:PACKED_SSE_AND_SSE2 to preset 
> search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 70
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L1_DCM
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000000 for PAPI_L1_DCM
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000000,0,DATA_CACHE_MISSES to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 71
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L1_DCA
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000040 for PAPI_L1_DCA
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000040,0,DATA_CACHE_ACCESSES to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 72
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L1_ICM
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000001 for PAPI_L1_ICM
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000001,0,INSTRUCTION_CACHE_MISSES to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 73
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L1_ICA
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x8000004c for PAPI_L1_ICA
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x8000004c,0,INSTRUCTION_CACHE_FETCHES to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 74
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L2_DCM
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000002 for PAPI_L2_DCM
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000002,0,L2_CACHE_MISS:DATA to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 75
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L2_DCA
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000041 for PAPI_L2_DCA
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000041,0,REQUESTS_TO_L2:DATA to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 76
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L2_ICM
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000003 for PAPI_L2_ICM
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000003,0,L2_CACHE_MISS:INSTRUCTIONS to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 77
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L2_ICA
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x8000004d for PAPI_L2_ICA
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x8000004d,0,REQUESTS_TO_L2:INSTRUCTIONS to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 78
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_L2_TCM
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000007 for PAPI_L2_TCM
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000007,0,L2_CACHE_MISS:ALL to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 79
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_BR_INS
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x80000037 for PAPI_BR_INS
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x80000037,0,RETIRED_BRANCH_INSTRUCTIONS to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1966: PRESET token found on line 80
> SUBSTRATE:perfmon.c:load_preset_table:1975: Examining preset PAPI_BR_MSP
> SUBSTRATE:perfmon.c:load_preset_table:1981: Found 0x8000002e for PAPI_BR_MSP
> SUBSTRATE:perfmon.c:load_preset_table:1988: Examining derived NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:1994: Found 0 for NOT_DERIVED
> SUBSTRATE:perfmon.c:load_preset_table:2004: Adding 
> 0x8000002e,0,RETIRED_MISPREDICTED_BRANCH_INSTRUCTIONS to preset search table.
> SUBSTRATE:perfmon.c:load_preset_table:1926: Comment found on line 81
> SUBSTRATE:perfmon.c:load_preset_table:1931: CPU token found on line 82
> SUBSTRATE:perfmon.c:load_preset_table:1934: Ending preset scanning at line 82 
> of /usr/local/share/papi/perfmon_events.csv.
> SUBSTRATE:perfmon.c:generate_preset_search_map:2040: 
> generate_preset_search_map(0x45e3c68,0x7fff9a9c6228,0x552080,4) 15 proposed 
> presets
> SUBSTRATE:perfmon.c:generate_preset_search_map:2056: 
> pfm_get_cycle_event(0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x00000028 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x40000028
> SUBSTRATE:perfmon.c:generate_preset_search_map:2069: 
> pfm_get_inst_retired_event(0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x00000029 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x40000029
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(RETIRED_MMX_AND_FP_INSTRUCTIONS:X87:SCALAR_SSE_AND_SSE2,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x00000034 
> with 2 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x40030034
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(RETIRED_MMX_AND_FP_INSTRUCTIONS:PACKED_SSE_AND_SSE2,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x00000034 
> with 1 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x40010034
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(DATA_CACHE_MISSES,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000000a 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4000000a
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(DATA_CACHE_ACCESSES,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x00000009 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x40000009
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(INSTRUCTION_CACHE_MISSES,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000001d 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4000001d
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(INSTRUCTION_CACHE_FETCHES,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000001c 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4000001c
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(L2_CACHE_MISS:DATA,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000001a 
> with 1 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4001001a
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(REQUESTS_TO_L2:DATA,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x00000019 
> with 1 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x40010019
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(L2_CACHE_MISS:INSTRUCTIONS,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000001a 
> with 1 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4001001a
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(REQUESTS_TO_L2:INSTRUCTIONS,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x00000019 
> with 1 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x40010019
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(L2_CACHE_MISS:ALL,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000001a 
> with 1 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4001001a
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(RETIRED_BRANCH_INSTRUCTIONS,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000002b 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4000002b
> SUBSTRATE:perfmon.c:generate_preset_search_map:2083: 
> pfm_find_full_event(RETIRED_MISPREDICTED_BRANCH_INSTRUCTIONS,0x7fff9a9c60e0)
> SUBSTRATE:perfmon.c:encode_native_event:1768: Old native index was 0x0000002c 
> with 0 masks
> SUBSTRATE:perfmon.c:encode_native_event:1771: New encoding is 0x4000002c
> SUBSTRATE:perfmon.c:generate_preset_search_map:2101: 
> generate_preset_search_map(0x45e3c68,0x7fff9a9c6228,0x552080,4) 15 actual 
> presets
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 0 has umask 
> OPS_ADD,1,Add pipe ops
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 0 has umask 
> OPS_MULTIPLY,2,Multiply pipe ops
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 0 has umask 
> OPS_STORE,4,Store pipe ops
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 0 has umask 
> OPS_ADD_PIPE_LOAD_OPS,8,Add pipe load ops
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 0 has umask 
> OPS_MULTIPY_PIPE_LOAD_OPS,16,Multiply pipe load ops
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 0 has umask 
> OPS_STORE_PIPE_LOAD_OPS,32,Store pipe load ops
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> ES,1,ES
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> CS,2,CS
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> SS,4,SS
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> DS,8,DS
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> FS,16,FS
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> GS,32,GS
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> HS,64,HS
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 3 has umask 
> ALL,127,All segments
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 7 has umask 
> EXECUTED,1,The number of locked instructions executed
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 7 has umask 
> CYCLES_SPECULATIVE_PHASE,2, The number of cycles spent in speculative phase
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 7 has umask 
> CYCLES_NON_SPECULATIVE_PHASE,4,The number of cycles spent in non-speculative 
> phase (including cache miss penalty)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 8 has umask 
> NON_CACHEABLE,1,Requests to non-cacheable (UC) memory
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 8 has umask 
> WRITE_COMBINING,2,Requests to write-combining (WC) memory or WC buffer 
> flushes to WB memory
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 8 has umask 
> STREAMING_STORE,128,Streaming store (SS) requests
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 11 has umask 
> SYSTEM,1,Refill from System
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 11 has umask 
> L2_SHARED,2,Shared-state line from L2
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 11 has umask 
> L2_EXCLUSIVE,4,Exclusive-state line from L2
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 11 has umask 
> L2_OWNED,8,Owned-state line from L2
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 11 has umask 
> L2_MODIFIED,16,Modified-state line from L2
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 11 has umask 
> L2_ALL,30,Shared, Exclusive, Owned, Modified State Refills
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 12 has umask 
> INVALID,1,Invalid
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 12 has umask 
> SHARED,2,Shared
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 12 has umask 
> EXCLUSIVE,4,Exclusive
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 12 has umask 
> OWNED,8,Owned
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 12 has umask 
> MODIFIED,16,Modified
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 12 has umask 
> ALL,31,Invalid, Shared, Exclusive, Owned, Modified
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 13 has umask 
> INVALID,1,Invalid
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 13 has umask 
> SHARED,2,Shared
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 13 has umask 
> EXCLUSIVE,4,Exclusive
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 13 has umask 
> OWNED,8,Owned
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 13 has umask 
> MODIFIED,16,Modified
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 13 has umask 
> ALL,31,Invalid, Shared, Exclusive, Owned, Modified
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 19 has umask 
> SCRUBBER_ERROR,1,Scrubber error
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 19 has umask 
> PIGGYBACK_ERROR,2,Piggyback scrubber errors
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 20 has umask 
> LOAD,1,Load (Prefetch, PrefetchT0/T1/T2)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 20 has umask 
> STORE,2,Store (PrefetchW)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 20 has umask 
> NTA,4,Non-temporal Access NTA (PrefetchNTA)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 22 has umask 
> CANCELLED,1,Cancelled prefetches
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 22 has umask 
> ATTEMPTED,2,Prefetch attempts
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 23 has umask 
> EXCLUSIVE,1,Exclusive
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 23 has umask 
> MODIFIED,2,Modified
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 23 has umask 
> SHARED,4,Shared
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 23 has umask 
> ALL,7,Exclusive, Modified, Shared
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 25 has umask 
> INSTRUCTIONS,1,IC fill
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 25 has umask 
> DATA,2,DC fill
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 25 has umask 
> TLB_WALK,4,TLB fill (page table walks)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 25 has umask 
> SNOOP,8,Tag snoop request
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 25 has umask 
> CANCELLED,16,Cancelled request
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 25 has umask 
> ALL,15,All non-cancelled requests
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 26 has umask 
> INSTRUCTIONS,1,IC fill
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 26 has umask 
> DATA,2,DC fill
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 26 has umask 
> TLB_WALK,4,TLB page table walk
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 26 has umask 
> ALL,7,Instructions, Data, TLB walk
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 52 has umask 
> X87,1,x87 instructions
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 52 has umask 
> MMX_AND_3DNOW,2,MMX(TM) and 3DNow!(TM) instructions
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 52 has umask 
> PACKED_SSE_AND_SSE2,4,Packed SSE and SSE2 instructions
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 52 has umask 
> SCALAR_SSE_AND_SSE2,8,Scalar SSE and SSE2 instructions
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 52 has umask 
> ALL,15,X87, MMX(TM), 3DNow!(TM), Scalar and Packed SSE and SSE2 instructions
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 53 has umask 
> POSITION_0,1,low op in position 0
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 53 has umask 
> POSITION_1,2,low op in position 1
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 53 has umask 
> POSITION_2,4,low op in position 2
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 53 has umask 
> ALL,7,low op in position 0, 1, or 2
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 68 has umask 
> X87_RECLASS_MICROFAULTS,1,x87 reclass microfaults
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 68 has umask 
> SSE_RETYPE_MICROFAULTS,2,SSE retype microfaults
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 68 has umask 
> SSE_RECLASS_MICROFAULTS,4,SSE reclass microfaults
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 68 has umask 
> SSE_AND_X87_MICROTRAPS,8,SSE and x87 microtraps
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 68 has umask 
> ALL,15,All
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 73 has umask 
> HIT,1,Page Hit
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 73 has umask 
> MISS,2,Page Miss
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 73 has umask 
> CONFLICT,4,Page Conflict
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 73 has umask 
> ALL,7,Page Hit, Miss, or Conflict
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 75 has umask 
> CHIP_SELECT,1,DIMM (chip select) turnaround
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 75 has umask 
> READ_TO_WRITE,2,Read to write turnaround
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 75 has umask 
> WRITE_TO_READ,4,Write to read turnaround
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 75 has umask 
> ALL,7,All Memory Controller Turnarounds
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 76 has umask 
> HIGH_PRIORITY,1,Memory controller high priority bypass
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 76 has umask 
> LOW_PRIORITY,2,Memory controller low priority bypass
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 76 has umask 
> DRAM_INTERFACE,4,DRAM controller interface bypass
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 76 has umask 
> DRAM_QUEUE,8,DRAM controller queue bypass
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 77 has umask 
> 32_BYTE_WRITES,4,32-byte Sized Writes (Revision D and later revisions)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 77 has umask 
> 64_BYTE_WRITES,8,64-byte Sized Writes (Revision D and later revisions)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 77 has umask 
> 32_BYTE_READS,16,32-byte Sized Reads (Revision D and later revisions)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 77 has umask 
> 64_BYTE_READS,32,64-byte Sized Reads (Revision D and later revisions)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 106 has umask 
> VICTIM_WRITEBACK,1,Victim Block (Writeback)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 106 has umask 
> DCACHE_LOAD_MISS,4,Read Block (Dcache load miss refill)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 106 has umask 
> SHARED_ICACHE_REFILL,8,Read Block Shared (Icache refill)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 106 has umask 
> READ_BLOCK_MODIFIED,16,Read Block Modified (Dcache store miss refill)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 106 has umask 
> READ_TO_DIRTY,32,Change to Dirty (first store to clean block already in cache)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 107 has umask 
> NON_POSTED_WRITE_BYTE,1,NonPosted SzWr Byte (1-32 bytes)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 107 has umask 
> NON_POSTED_WRITE_DWORD,2,NonPosted SzWr Dword (1-16 dwords)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 107 has umask 
> POSTED_WRITE_BYTE,4,Posted SzWr Byte (1-32 bytes)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 107 has umask 
> POSTED_WRITE_DWORD,8,Posted SzWr Dword (1-16 dwords)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 107 has umask 
> READ_BYTE_4_BYTES,16,SzRd Byte (4 bytes)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 107 has umask 
> READ_DWORD_1_16_DWORDS,32,SzRd Dword (1-16 dwords)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 107 has umask 
> READ_MODIFY_WRITE,64,RdModWr
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 108 has umask 
> MISS,1,Probe miss
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 108 has umask 
> HIT_CLEAN,2,Probe hit clean
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 108 has umask 
> HIT_CLEAN_NO_MEMORY_CANCEL,4,Probe hit dirty without memory cancel (probed by 
> Sized Write or Change2Dirty)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 108 has umask 
> HIT_DIRTY_WITH_MEMORY_CANCEL,8,Probe hit dirty with memory cancel (probed by 
> DMA read or cache refill request)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 108 has umask 
> UPSTREAM_DISPLAY_REFRESH_READS,16,Upstream display refresh reads
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 108 has umask 
> UPSTREAM_NON_DISPLAY_REFRESH_READS,32,Upstream non-display refresh reads
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 108 has umask 
> UPSTREAM_WRITES,64,Upstream writes (Revision D and later revisions)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 109 has umask 
> APERTURE_HIT_FROM_CPU,1,GART aperture hit on access from CPU
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 109 has umask 
> APERTURE_HIT_FROM_IO,2,GART aperture hit on access from I/O
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 109 has umask 
> MISS,4,GART miss
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 110 has umask 
> COMMAND_DWORD_SENT,1,Command Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 110 has umask 
> DATA_DWORD_SENT,2,Data Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 110 has umask 
> BUFFER_RELEASE_DWORD_SENT,4,Buffer release Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 110 has umask 
> NOP_DWORD_SENT,8,Nop Dword sent (idle)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 111 has umask 
> COMMAND_DWORD_SENT,1,Command Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 111 has umask 
> DATA_DWORD_SENT,2,Data Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 111 has umask 
> BUFFER_RELEASE_DWORD_SENT,4,Buffer release Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 111 has umask 
> NOP_DWORD_SENT,8,Nop Dword sent (idle)
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 112 has umask 
> COMMAND_DWORD_SENT,1,Command Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 112 has umask 
> DATA_DWORD_SENT,2,Data Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 112 has umask 
> BUFFER_RELEASE_DWORD_SENT,4,Buffer release Dword sent
> SUBSTRATE:perfmon.c:generate_native_event_map:2211: PFM event 112 has umask 
> NOP_DWORD_SENT,8,Nop Dword sent (idle)
> SUBSTRATE:perfmon.c:_papi_hwd_init:2710: 
> PFM_CREATE_CONTEXT(0x7fff9a9c6580,(nil),0)
> SUBSTRATE:perfmon.c:_papi_hwd_init:2716: PFM_CREATE_CONTEXT returns fd 3
> SUBSTRATE:perfmon.c:decode_native_event:3750: EventCode 0x40000028 is event 
> 40, umask 0x0
> SUBSTRATE:perfmon.c:prepare_umask:3758: umask 0x0
> SUBSTRATE:perfmon.c:_papi_hwd_update_control_state:4055: Stuffing native 
> event index 0 (code 0x28) into input structure.
> SUBSTRATE:perfmon.c:compute_kernel_args:2262: togo 1, done 0, dispatch_count 1
> SUBSTRATE:perfmon.c:_papi_hwd_update_control_state:4079: native event index 0 
> (code 0x28) is at PMD offset 0
> SUBSTRATE:perfmon.c:_papi_hwd_start:2958: PFM_WRITE_PMCS(3,0x2b1b1015c110,1)
> SUBSTRATE:perfmon.c:dump_pmc:1491: PC[0]
> SUBSTRATE:perfmon.c:dump_pmc:1492: PC[0].reg_num = 0
> SUBSTRATE:perfmon.c:dump_pmc:1493: PC[0].reg_set = 0
> SUBSTRATE:perfmon.c:dump_pmc:1494: PC[0].reg_flags = 0x00000000
> SUBSTRATE:perfmon.c:dump_pmc:1495: PC[0].reg_value = 0x0000000000510076
> PAPI Error: pfm_write_pmcs(3,0x2b1b1015c110,1): not supported.
> PAPI Error: Error Code -3,PAPI_ESYS,A System/C library call failed: Invalid 
> argument.
> System error in PAPI_start: Invalid argument
> SUBSTRATE:perfmon.c:_papi_hwd_update_control_state:4045: Called with count == > 0
> pfmlib_amd64.c (pfm_amd64_dispatch_counters.115): ev[0]=CPU_CLK_UNHALTED
> [PERFSEL0(pmc0)=0x510076 emask=0x76 umask=0x0 os=0 usr=1 inv=0 en=1 int=1 
> edge=0 cnt_mask=0] CPU_CLK_UNHALTED
> [PERFCTR0(pmd0)]
> Successfully added: PAPI_TOT_CYC
> 
> command_line.c                           FAILED
> Line # 64
> 
> plain text document attachment (messages.txt)
> Oct 31 13:42:07 yugo kernel: perfmon: pfm_alloc_fd.716: CPU0 [4670]: new 
> inode ino=22256 @ffff810016ae0998
> Oct 31 13:42:07 yugo kernel: perfmon: pfm_find_set.490: CPU0 [4670]: looking 
> for set=0
> Oct 31 13:42:07 yugo kernel: perfmon: pfm_find_set.559: CPU0 [4670]: set_id=0 
> size=2584 view=ffff8100162ae970 remap=0 mmap_offs=0
> Oct 31 13:42:07 yugo kernel: perfmon: pfm_init_evtset.468: CPU0 [4670]: set0 
> pmc1=0x100000
> Oct 31 13:42:07 yugo kernel: perfmon: pfm_init_evtset.468: CPU0 [4670]: set0 
> pmc2=0x100000
> Oct 31 13:42:07 yugo kernel: perfmon: pfm_init_evtset.468: CPU0 [4670]: set0 
> pmc3=0x100000
> Oct 31 13:42:07 yugo kernel: perfmon: __pfm_create_context.1625: CPU0 [4670]: 
> ctx=ffff810014e60000 flags=0x0 system=0 notify_block=0 no_msg=0 use_fmt=0 
> remap=0 ctx_fd=3 mode=0
> Oct 31 13:42:07 yugo kernel: perfmon: __pfm_fasync.416: CPU0 [4670]: fd=3 
> on=1 async_q=ffff810038b4d410 ret=1
> Oct 31 13:42:07 yugo kernel: perfmon: pfm_fasync.445: CPU0 [4670]: pfm_fasync 
> called on fd=3 on=1 async_queue=ffff810038b4d410 ret=1
> Oct 31 13:42:08 yugo kernel: perfmon: pfm_check_task_state.127: CPU0 [4670]: 
> state=1 [-1] task_state=-1 check_mask=0x1
> Oct 31 13:42:08 yugo kernel: perfmon: __pfm_write_pmcs.356: CPU0 [4670]: pmc0 
> is not implemented/unaccessible
> Oct 31 13:42:08 yugo kernel: perfmon: pfm_flush.630: CPU0 [4670]: cleaning up 
> async_queue=ffff810038b4d410
> Oct 31 13:42:08 yugo kernel: perfmon: __pfm_fasync.416: CPU0 [4670]: fd=-1 
> on=0 async_q=0000000000000000 ret=1
> Oct 31 13:42:08 yugo kernel: perfmon: __pfm_close.509: CPU0 [4670]: state=1
> Oct 31 13:42:08 yugo kernel: perfmon: pfm_context_free.118: CPU0 [4670]: free 
> ctx @ffff810014e60000

Attachment: oprofile2pfm.pl
Description: Perl program

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to