Skip to content

Commit

Permalink
Update json_events included in BuiltinMetricsLight (facebookincubator…
Browse files Browse the repository at this point in the history
…#294)

Summary:
Pull Request resolved: facebookincubator#294

Update json_events to include metrics in  BuiltinMetricsLight  that are used by Dynolog.

Reviewed By: briancoutinho

Differential Revision: D62405387
  • Loading branch information
bigzachattack authored and facebook-github-bot committed Oct 1, 2024
1 parent a1b2247 commit 5f17ebf
Show file tree
Hide file tree
Showing 23 changed files with 81 additions and 157 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ Note: A prefetch promoted to Demand is counted from the promotion point.)",
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event ICACHE.MISSES is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::cpu,
"ICACHE.MISSES",
Expand All @@ -1862,7 +1862,6 @@ Note: A prefetch promoted to Demand is counted from the promotion point.)",
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

// Event ICACHE.IFDATA_STALL is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ Note: A prefetch promoted to Demand is counted from the promotion point.)",
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event ICACHE.MISSES is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::cpu,
"ICACHE.MISSES",
Expand All @@ -1861,7 +1861,6 @@ Note: A prefetch promoted to Demand is counted from the promotion point.)",
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

// Event ICACHE.IFDATA_STALL is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8223,7 +8223,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.RD is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.RD",
Expand All @@ -8235,7 +8235,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down Expand Up @@ -8265,7 +8264,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.WR is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.WR",
Expand All @@ -8277,7 +8276,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1848,7 +1848,7 @@ Note: A prefetch promoted to Demand is counted from the promotion point.)",
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event ICACHE.MISSES is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::cpu,
"ICACHE.MISSES",
Expand All @@ -1861,7 +1861,6 @@ Note: A prefetch promoted to Demand is counted from the promotion point.)",
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

// Event ICACHE.IFDATA_STALL is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11415,7 +11415,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.RD is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.RD",
Expand All @@ -11427,7 +11427,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down Expand Up @@ -11457,7 +11456,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.WR is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.WR",
Expand All @@ -11469,7 +11468,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.RD is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.RD",
Expand All @@ -663,7 +663,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand All @@ -680,7 +679,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.WR is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.WR",
Expand All @@ -693,7 +692,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down Expand Up @@ -1265,7 +1263,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_CHA_CLOCKTICKS is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_cha,
"UNC_CHA_CLOCKTICKS",
Expand All @@ -1278,7 +1276,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down Expand Up @@ -1445,7 +1442,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_CHA_REQUESTS.READS_LOCAL is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_cha,
"UNC_CHA_REQUESTS.READS_LOCAL",
Expand All @@ -1458,9 +1455,8 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_CHA_REQUESTS.READS_REMOTE is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_cha,
"UNC_CHA_REQUESTS.READS_REMOTE",
Expand All @@ -1473,9 +1469,8 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_CHA_REQUESTS.WRITES_LOCAL is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_cha,
"UNC_CHA_REQUESTS.WRITES_LOCAL",
Expand All @@ -1488,9 +1483,8 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_CHA_REQUESTS.WRITES_REMOTE is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_cha,
"UNC_CHA_REQUESTS.WRITES_REMOTE",
Expand All @@ -1503,7 +1497,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
R"(0)"));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event ICACHE.MISSES is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::cpu,
"ICACHE.MISSES",
Expand All @@ -337,7 +337,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
std::nullopt, // ScaleUnit
EventDef::IntelFeatures{},
R"(0)"));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1886,7 +1886,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event ICACHE.MISSES is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::cpu,
"ICACHE.MISSES",
Expand All @@ -1899,7 +1899,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13375,7 +13375,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.RD is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.RD",
Expand All @@ -13387,7 +13387,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down Expand Up @@ -13417,7 +13416,7 @@ void addEvents(PmuDeviceManager& pmu_manager) {
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
// Event UNC_M_CAS_COUNT.WR is allowlisted
pmu_manager.addEvent(std::make_shared<EventDef>(
PmuType::uncore_imc,
"UNC_M_CAS_COUNT.WR",
Expand All @@ -13429,7 +13428,6 @@ void addEvents(PmuDeviceManager& pmu_manager) {
EventDef::IntelFeatures{},
std::nullopt // Errata
));
#endif // HBT_ADD_ALL_GENERATED_EVENTS

#ifdef HBT_ADD_ALL_GENERATED_EVENTS
pmu_manager.addEvent(std::make_shared<EventDef>(
Expand Down
Loading

0 comments on commit 5f17ebf

Please sign in to comment.