dtrace.c (03836978bec158bdc0ecee7a4198962f91ce8298) | dtrace.c (09e6105ff4b8003d2b3af27308a3b1746c9586c5) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 9 unchanged lines hidden (view full) --- 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 9 unchanged lines hidden (view full) --- 18 * 19 * CDDL HEADER END 20 */ 21 22/* 23 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ |
26/* 27 * Copyright (c) 2012 by Delphix. All rights reserved. 28 */ |
|
26 | 29 |
27#pragma ident "%Z%%M% %I% %E% SMI" 28 | |
29#include <sys/types.h> 30#include <sys/stat.h> 31#include <sys/wait.h> 32 33#include <dtrace.h> 34#include <stdlib.h> 35#include <stdarg.h> 36#include <stdio.h> --- 1367 unchanged lines hidden (view full) --- 1404#if defined(__i386__) 1405 /* XXX The 32-bit seems to need more buffer space by default -sson */ 1406 (void) dtrace_setopt(g_dtp, "bufsize", "12m"); 1407 (void) dtrace_setopt(g_dtp, "aggsize", "12m"); 1408#else 1409 (void) dtrace_setopt(g_dtp, "bufsize", "4m"); 1410 (void) dtrace_setopt(g_dtp, "aggsize", "4m"); 1411#endif | 30#include <sys/types.h> 31#include <sys/stat.h> 32#include <sys/wait.h> 33 34#include <dtrace.h> 35#include <stdlib.h> 36#include <stdarg.h> 37#include <stdio.h> --- 1367 unchanged lines hidden (view full) --- 1405#if defined(__i386__) 1406 /* XXX The 32-bit seems to need more buffer space by default -sson */ 1407 (void) dtrace_setopt(g_dtp, "bufsize", "12m"); 1408 (void) dtrace_setopt(g_dtp, "aggsize", "12m"); 1409#else 1410 (void) dtrace_setopt(g_dtp, "bufsize", "4m"); 1411 (void) dtrace_setopt(g_dtp, "aggsize", "4m"); 1412#endif |
1413 (void) dtrace_setopt(g_dtp, "temporal", "yes"); |
|
1412 1413 /* 1414 * If -G is specified, enable -xlink=dynamic and -xunodefs to permit 1415 * references to undefined symbols to remain as unresolved relocations. 1416 * If -A is specified, enable -xlink=primary to permit static linking 1417 * only to kernel symbols that are defined in a primary kernel module. 1418 */ 1419 if (g_mode == DMODE_LINK) { --- 507 unchanged lines hidden --- | 1414 1415 /* 1416 * If -G is specified, enable -xlink=dynamic and -xunodefs to permit 1417 * references to undefined symbols to remain as unresolved relocations. 1418 * If -A is specified, enable -xlink=primary to permit static linking 1419 * only to kernel symbols that are defined in a primary kernel module. 1420 */ 1421 if (g_mode == DMODE_LINK) { --- 507 unchanged lines hidden --- |