hwpmc_arm.c (147191) | hwpmc_arm.c (174410) |
---|---|
1/*- 2 * Copyright (c) 2005, 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 --- 12 unchanged lines hidden (view full) --- 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 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2005, 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 --- 12 unchanged lines hidden (view full) --- 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 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_arm.c 147191 2005-06-09 19:45:09Z jkoshy $"); | 29__FBSDID("$FreeBSD: head/sys/dev/hwpmc/hwpmc_arm.c 174410 2007-12-07 17:21:53Z jkoshy $"); |
30 31#include <sys/param.h> 32#include <sys/pmc.h> 33 34#include <machine/pmc_mdep.h> 35 36struct pmc_mdep * 37pmc_md_initialize() 38{ 39 return NULL; 40} | 30 31#include <sys/param.h> 32#include <sys/pmc.h> 33 34#include <machine/pmc_mdep.h> 35 36struct pmc_mdep * 37pmc_md_initialize() 38{ 39 return NULL; 40} |
41 42int 43pmc_save_kernel_callchain(uintptr_t *cc, int maxsamples, 44 struct trapframe *tf) 45{ 46 (void) cc; 47 (void) maxsamples; 48 (void) tf; 49 return (0); 50} 51 52int 53pmc_save_user_callchain(uintptr_t *cc, int maxsamples, 54 struct trapframe *tf) 55{ 56 (void) cc; 57 (void) maxsamples; 58 (void) tf; 59 return (0); 60} |
|