Deleted Added
full compact
libpmc.c (277835) libpmc.c (279833)
1/*-
2 * Copyright (c) 2003-2008 Joseph Koshy
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003-2008 Joseph Koshy
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/lib/libpmc/libpmc.c 277835 2015-01-28 16:08:07Z br $");
28__FBSDID("$FreeBSD: head/lib/libpmc/libpmc.c 279833 2015-03-10 01:23:55Z rstone $");
29
30#include <sys/types.h>
31#include <sys/param.h>
32#include <sys/module.h>
33#include <sys/pmc.h>
34#include <sys/syscall.h>
35
36#include <ctype.h>

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

320PMC_CLASS_TABLE_DESC(iaf, IAF, iaf, iaf);
321PMC_CLASS_TABLE_DESC(atom, IAP, atom, iap);
322PMC_CLASS_TABLE_DESC(atom_silvermont, IAP, atom_silvermont, iap);
323PMC_CLASS_TABLE_DESC(core, IAP, core, iap);
324PMC_CLASS_TABLE_DESC(core2, IAP, core2, iap);
325PMC_CLASS_TABLE_DESC(corei7, IAP, corei7, iap);
326PMC_CLASS_TABLE_DESC(nehalem_ex, IAP, nehalem_ex, iap);
327PMC_CLASS_TABLE_DESC(haswell, IAP, haswell, iap);
29
30#include <sys/types.h>
31#include <sys/param.h>
32#include <sys/module.h>
33#include <sys/pmc.h>
34#include <sys/syscall.h>
35
36#include <ctype.h>

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

320PMC_CLASS_TABLE_DESC(iaf, IAF, iaf, iaf);
321PMC_CLASS_TABLE_DESC(atom, IAP, atom, iap);
322PMC_CLASS_TABLE_DESC(atom_silvermont, IAP, atom_silvermont, iap);
323PMC_CLASS_TABLE_DESC(core, IAP, core, iap);
324PMC_CLASS_TABLE_DESC(core2, IAP, core2, iap);
325PMC_CLASS_TABLE_DESC(corei7, IAP, corei7, iap);
326PMC_CLASS_TABLE_DESC(nehalem_ex, IAP, nehalem_ex, iap);
327PMC_CLASS_TABLE_DESC(haswell, IAP, haswell, iap);
328PMC_CLASS_TABLE_DESC(haswell_xeon, IAP, haswell, iap);
328PMC_CLASS_TABLE_DESC(haswell_xeon, IAP, haswell_xeon, iap);
329PMC_CLASS_TABLE_DESC(ivybridge, IAP, ivybridge, iap);
330PMC_CLASS_TABLE_DESC(ivybridge_xeon, IAP, ivybridge_xeon, iap);
331PMC_CLASS_TABLE_DESC(sandybridge, IAP, sandybridge, iap);
332PMC_CLASS_TABLE_DESC(sandybridge_xeon, IAP, sandybridge_xeon, iap);
333PMC_CLASS_TABLE_DESC(westmere, IAP, westmere, iap);
334PMC_CLASS_TABLE_DESC(westmere_ex, IAP, westmere_ex, iap);
335PMC_CLASS_TABLE_DESC(ucf, UCF, ucf, ucf);
336PMC_CLASS_TABLE_DESC(corei7uc, UCP, corei7uc, ucp);

--- 3299 unchanged lines hidden ---
329PMC_CLASS_TABLE_DESC(ivybridge, IAP, ivybridge, iap);
330PMC_CLASS_TABLE_DESC(ivybridge_xeon, IAP, ivybridge_xeon, iap);
331PMC_CLASS_TABLE_DESC(sandybridge, IAP, sandybridge, iap);
332PMC_CLASS_TABLE_DESC(sandybridge_xeon, IAP, sandybridge_xeon, iap);
333PMC_CLASS_TABLE_DESC(westmere, IAP, westmere, iap);
334PMC_CLASS_TABLE_DESC(westmere_ex, IAP, westmere_ex, iap);
335PMC_CLASS_TABLE_DESC(ucf, UCF, ucf, ucf);
336PMC_CLASS_TABLE_DESC(corei7uc, UCP, corei7uc, ucp);

--- 3299 unchanged lines hidden ---