Deleted Added
full compact
fbt_isa.c (302408) fbt_isa.c (332566)
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 * Portions Copyright 2006-2008 John Birrell jb@freebsd.org
22 * Portions Copyright 2013 Justin Hibbits jhibbits@freebsd.org
23 * Portions Copyright 2013 Howard Su howardsu@freebsd.org
24 * Portions Copyright 2015-2016 Ruslan Bukin <br@bsdpad.com>
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 * Portions Copyright 2006-2008 John Birrell jb@freebsd.org
22 * Portions Copyright 2013 Justin Hibbits jhibbits@freebsd.org
23 * Portions Copyright 2013 Howard Su howardsu@freebsd.org
24 * Portions Copyright 2015-2016 Ruslan Bukin <br@bsdpad.com>
25 *
26 * $FreeBSD: stable/11/sys/cddl/dev/fbt/mips/fbt_isa.c 299118 2016-05-05 13:54:50Z br $
26 * $FreeBSD: stable/11/sys/cddl/dev/fbt/mips/fbt_isa.c 332566 2018-04-16 14:39:04Z lidl $
27 */
28
29/*
30 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
31 * Use is subject to license terms.
32 */
33
34#include <sys/cdefs.h>

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

77 mips_icache_sync_range((vm_offset_t)fbt->fbtp_patchpoint, 4);
78}
79
80int
81fbt_provide_module_function(linker_file_t lf, int symindx,
82 linker_symval_t *symval, void *opaque)
83{
84 fbt_probe_t *fbt, *retfbt;
27 */
28
29/*
30 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
31 * Use is subject to license terms.
32 */
33
34#include <sys/cdefs.h>

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

77 mips_icache_sync_range((vm_offset_t)fbt->fbtp_patchpoint, 4);
78}
79
80int
81fbt_provide_module_function(linker_file_t lf, int symindx,
82 linker_symval_t *symval, void *opaque)
83{
84 fbt_probe_t *fbt, *retfbt;
85 uint32_t *target, *start;
86 uint32_t *instr, *limit;
87 const char *name;
88 char *modname;
89
90 modname = opaque;
91 name = symval->name;
92
93 /* Check if function is excluded from instrumentation */

--- 72 unchanged lines hidden ---
85 uint32_t *instr, *limit;
86 const char *name;
87 char *modname;
88
89 modname = opaque;
90 name = symval->name;
91
92 /* Check if function is excluded from instrumentation */

--- 72 unchanged lines hidden ---