~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/perf/util/libunwind/arm64.c

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * This file setups defines to compile arch specific binary from the
  4  * generic one.
  5  *
  6  * The function 'LIBUNWIND__ARCH_REG_ID' name is set according to arch
  7  * name and the definition of this function is included directly from
  8  * 'arch/arm64/util/unwind-libunwind.c', to make sure that this function
  9  * is defined no matter what arch the host is.
 10  *
 11  * Finally, the arch specific unwind methods are exported which will
 12  * be assigned to each arm64 thread.
 13  */
 14 
 15 #define REMOTE_UNWIND_LIBUNWIND
 16 
 17 /* Define arch specific functions & regs for libunwind, should be
 18  * defined before including "unwind.h"
 19  */
 20 #define LIBUNWIND__ARCH_REG_ID(regnum) libunwind__arm64_reg_id(regnum)
 21 
 22 #include "unwind.h"
 23 #include "libunwind-aarch64.h"
 24 #define perf_event_arm_regs perf_event_arm64_regs
 25 #include <../../../arch/arm64/include/uapi/asm/perf_regs.h>
 26 #undef perf_event_arm_regs
 27 #include "../../arch/arm64/util/unwind-libunwind.c"
 28 
 29 /* NO_LIBUNWIND_DEBUG_FRAME is a feature flag for local libunwind,
 30  * assign NO_LIBUNWIND_DEBUG_FRAME_AARCH64 to it for compiling arm64
 31  * unwind methods.
 32  */
 33 #undef NO_LIBUNWIND_DEBUG_FRAME
 34 #ifdef NO_LIBUNWIND_DEBUG_FRAME_AARCH64
 35 #define NO_LIBUNWIND_DEBUG_FRAME
 36 #endif
 37 #include "util/unwind-libunwind-local.c"
 38 
 39 struct unwind_libunwind_ops *
 40 arm64_unwind_libunwind_ops = &_unwind_libunwind_ops;
 41 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php