libpmc.c (e3572eb654733a94e1e765fe9e95e0579981d851) libpmc.c (dd2fd62184b3aef72d52b586c91f18858e644aaa)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2003-2008 Joseph Koshy
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 1462 unchanged lines hidden (view full) ---

1471 /*
1472 * Fill in the class table.
1473 */
1474 n = 0;
1475
1476 /* Fill soft events information. */
1477 pmc_class_table[n++] = &soft_class_table_descr;
1478
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2003-2008 Joseph Koshy
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 1462 unchanged lines hidden (view full) ---

1471 /*
1472 * Fill in the class table.
1473 */
1474 n = 0;
1475
1476 /* Fill soft events information. */
1477 pmc_class_table[n++] = &soft_class_table_descr;
1478
1479#if defined(__aarch64__)
1479 pmc_class_table[n++] = &cmn600_pmu_class_table_descr;
1480 pmc_class_table[n++] = &dmc620_pmu_cd2_class_table_descr;
1481 pmc_class_table[n++] = &dmc620_pmu_c_class_table_descr;
1480 pmc_class_table[n++] = &cmn600_pmu_class_table_descr;
1481 pmc_class_table[n++] = &dmc620_pmu_cd2_class_table_descr;
1482 pmc_class_table[n++] = &dmc620_pmu_c_class_table_descr;
1483#endif
1482#if defined(__amd64__) || defined(__i386__)
1483 if (cpu_info.pm_cputype != PMC_CPU_GENERIC)
1484 pmc_class_table[n++] = &tsc_class_table_descr;
1485#endif
1486
1487#define PMC_MDEP_INIT(C) pmc_mdep_event_aliases = C##_aliases
1488
1489 /* Configure the event name parser. */

--- 394 unchanged lines hidden ---
1484#if defined(__amd64__) || defined(__i386__)
1485 if (cpu_info.pm_cputype != PMC_CPU_GENERIC)
1486 pmc_class_table[n++] = &tsc_class_table_descr;
1487#endif
1488
1489#define PMC_MDEP_INIT(C) pmc_mdep_event_aliases = C##_aliases
1490
1491 /* Configure the event name parser. */

--- 394 unchanged lines hidden ---