(root)/
strace-6.5/
src/
linux/
arm/
nr_prefix.c
       1  /*
       2   * Copyright (c) 2018-2021 The strace developers.
       3   * All rights reserved.
       4   *
       5   * SPDX-License-Identifier: LGPL-2.1-or-later
       6   */
       7  
       8  static const char *
       9  nr_prefix(kernel_ulong_t scno)
      10  {
      11  	/*
      12  	 * For now, the set of syscalls that are shuffled is equivalent to the
      13  	 * set of syscalls that have __ARM_NR_ prefix.
      14  	 */
      15  	if (shuffle_scno(scno) != scno)
      16  		return "__ARM_NR_";
      17  	else
      18  		return "__NR_";
      19  }