xref: /freebsd/lib/libpmc/pmu-events/arch/x86/silvermont/virtual-memory.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1959826caSMatt Macy[
2959826caSMatt Macy    {
3*18054d02SAlexander Motin        "BriefDescription": "Loads missed DTLB",
4*18054d02SAlexander Motin        "Counter": "0,1",
5*18054d02SAlexander Motin        "EventCode": "0x04",
6*18054d02SAlexander Motin        "EventName": "MEM_UOPS_RETIRED.DTLB_MISS_LOADS",
7959826caSMatt Macy        "PEBS": "1",
8959826caSMatt Macy        "PublicDescription": "This event counts the number of load ops retired that had DTLB miss.",
9959826caSMatt Macy        "SampleAfterValue": "200003",
10*18054d02SAlexander Motin        "UMask": "0x8"
11959826caSMatt Macy    },
12959826caSMatt Macy    {
13*18054d02SAlexander Motin        "BriefDescription": "Total cycles for all the page walks. (I-side and D-side)",
14959826caSMatt Macy        "Counter": "0,1",
15959826caSMatt Macy        "EventCode": "0x05",
16959826caSMatt Macy        "EventName": "PAGE_WALKS.CYCLES",
17*18054d02SAlexander Motin        "PublicDescription": "This event counts every cycle when a data (D) page walk or instruction (I) page walk is in progress.  Since a pagewalk implies a TLB miss, the approximate cost of a TLB miss can be determined from this event.",
18959826caSMatt Macy        "SampleAfterValue": "200003",
19*18054d02SAlexander Motin        "UMask": "0x3"
20*18054d02SAlexander Motin    },
21*18054d02SAlexander Motin    {
22*18054d02SAlexander Motin        "BriefDescription": "Duration of D-side page-walks in core cycles",
23*18054d02SAlexander Motin        "Counter": "0,1",
24*18054d02SAlexander Motin        "EventCode": "0x05",
25*18054d02SAlexander Motin        "EventName": "PAGE_WALKS.D_SIDE_CYCLES",
26*18054d02SAlexander Motin        "PublicDescription": "This event counts every cycle when a D-side (walks due to a load) page walk is in progress. Page walk duration divided by number of page walks is the average duration of page-walks.",
27*18054d02SAlexander Motin        "SampleAfterValue": "200003",
28*18054d02SAlexander Motin        "UMask": "0x1"
29*18054d02SAlexander Motin    },
30*18054d02SAlexander Motin    {
31*18054d02SAlexander Motin        "BriefDescription": "D-side page-walks",
32*18054d02SAlexander Motin        "Counter": "0,1",
33*18054d02SAlexander Motin        "EdgeDetect": "1",
34*18054d02SAlexander Motin        "EventCode": "0x05",
35*18054d02SAlexander Motin        "EventName": "PAGE_WALKS.D_SIDE_WALKS",
36*18054d02SAlexander Motin        "PublicDescription": "This event counts when a data (D) page walk is completed or started.  Since a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number of pagewalks.",
37*18054d02SAlexander Motin        "SampleAfterValue": "100003",
38*18054d02SAlexander Motin        "UMask": "0x1"
39*18054d02SAlexander Motin    },
40*18054d02SAlexander Motin    {
41*18054d02SAlexander Motin        "BriefDescription": "Duration of I-side page-walks in core cycles",
42*18054d02SAlexander Motin        "Counter": "0,1",
43*18054d02SAlexander Motin        "EventCode": "0x05",
44*18054d02SAlexander Motin        "EventName": "PAGE_WALKS.I_SIDE_CYCLES",
45*18054d02SAlexander Motin        "PublicDescription": "This event counts every cycle when a I-side (walks due to an instruction fetch) page walk is in progress. Page walk duration divided by number of page walks is the average duration of page-walks.",
46*18054d02SAlexander Motin        "SampleAfterValue": "200003",
47*18054d02SAlexander Motin        "UMask": "0x2"
48*18054d02SAlexander Motin    },
49*18054d02SAlexander Motin    {
50*18054d02SAlexander Motin        "BriefDescription": "I-side page-walks",
51*18054d02SAlexander Motin        "Counter": "0,1",
52*18054d02SAlexander Motin        "EdgeDetect": "1",
53*18054d02SAlexander Motin        "EventCode": "0x05",
54*18054d02SAlexander Motin        "EventName": "PAGE_WALKS.I_SIDE_WALKS",
55*18054d02SAlexander Motin        "PublicDescription": "This event counts when an instruction (I) page walk is completed or started.  Since a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number of pagewalks.",
56*18054d02SAlexander Motin        "SampleAfterValue": "100003",
57*18054d02SAlexander Motin        "UMask": "0x2"
58*18054d02SAlexander Motin    },
59*18054d02SAlexander Motin    {
60*18054d02SAlexander Motin        "BriefDescription": "Total page walks that are completed (I-side and D-side)",
61*18054d02SAlexander Motin        "Counter": "0,1",
62*18054d02SAlexander Motin        "EdgeDetect": "1",
63*18054d02SAlexander Motin        "EventCode": "0x05",
64*18054d02SAlexander Motin        "EventName": "PAGE_WALKS.WALKS",
65*18054d02SAlexander Motin        "PublicDescription": "This event counts when a data (D) page walk or an instruction (I) page walk is completed or started.  Since a page walk implies a TLB miss, the number of TLB misses can be counted by counting the number of pagewalks.",
66*18054d02SAlexander Motin        "SampleAfterValue": "100003",
67*18054d02SAlexander Motin        "UMask": "0x3"
68959826caSMatt Macy    }
69959826caSMatt Macy]