Print this page
    
NEX-2787 Multiple comstar / fibre channel / qlt threads stuck waiting on locks with a spinning interrupt thread
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Approved by: Jean McCormack <jean.mccormack@nexenta.com>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/cmd/mdb/Makefile.kmdb.files
          +++ new/usr/src/cmd/mdb/Makefile.kmdb.files
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  
    | 
      ↓ open down ↓ | 
    18 lines elided | 
    
      ↑ open up ↑ | 
  
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25   25  
  26   26  #
  27   27  # Copyright (c) 2012 by Delphix. All rights reserved.
  28   28  # Copyright (c) 2012 Joyent, Inc. All rights reserved.
       29 +# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  29   30  #
  30   31  
  31   32  KMDBSRCS += \
  32   33          ffs.c \
  33   34          kaif_start.c \
       35 +        list.c \
  34   36          mdb.c \
  35   37          mdb_addrvec.c \
  36   38          mdb_argvec.c \
  37   39          mdb_callb.c \
  38   40          mdb_cmdbuf.c \
  39   41          mdb_cmds.c \
  40   42          kvm_cpu.c \
  41   43          kmdb_conf.c \
  42   44          kmdb_context.c \
  43   45          kmdb_create.c \
  44   46          mdb_ctf.c \
  45   47          kmdb_ctf_open.c \
  46   48          mdb_debug.c \
  47   49          kmdb_demangle.c \
  48   50          mdb_disasm.c \
  49   51          kmdb_dl.c \
  50   52          kmdb_dpi.c \
  51   53          mdb_dump.c \
  52   54          mdb_err.c \
  53   55          mdb_evset.c \
  54   56          kmdb_fault.c \
  55   57          kmdb_fdio.c \
  56   58          mdb_fmt.c \
  57   59          mdb_frame.c \
  58   60          mdb_gelf.c \
  59   61          mdb_help.c \
  60   62          mdb_io.c \
  61   63          kmdb_kdi.c \
  62   64          kmdb_kvm.c \
  63   65          mdb_logio.c \
  64   66          mdb_list.c \
  65   67          mdb_macalias.c \
  66   68          kmdb_main.c \
  67   69          mdb_modapi.c \
  68   70          mdb_module.c \
  69   71          kmdb_module.c \
  70   72          kmdb_module_load.c \
  71   73          mdb_nm.c \
  72   74          mdb_nv.c \
  73   75          mdb_pipeio.c \
  74   76          mdb_print.c \
  75   77          kmdb_promio.c \
  76   78          kmdb_promif.c \
  77   79          mdb_set.c \
  78   80          kmdb_shell.c \
  79   81          mdb_signal.c \
  80   82          mdb_string.c \
  81   83          mdb_strio.c \
  82   84          kmdb_stubs.c \
  83   85          mdb_tab.c \
  84   86          mdb_target.c \
  85   87          kmdb_terminfo.c \
  86   88          mdb_termio.c \
  87   89          mdb_typedef.c \
  88   90          mdb_umem.c \
  89   91          kmdb_umemglue.c \
  90   92          mdb_value.c \
  91   93          mdb_vcb.c \
  92   94          mdb_wcb.c \
  93   95          mdb_whatis.c \
  94   96          kmdb_wr.c
  95   97  
  96   98  KMDBML +=
  97   99  
  98  100  KMDBOBJS = $(KMDBSRCS:%.c=%.o) $(KMDBML:%.s=%.o)
  99  101  
 100  102  PROMSRCS += 
 101  103  
 102  104  PROMOBJS = $(PROMSRCS:%.c=%.o)
 103  105  
 104  106  KCTLSRCS += \
 105  107          kctl_auxv.c \
 106  108          kctl_dmod.c \
 107  109          kctl_err.c \
 108  110          kctl_main.c \
 109  111          kctl_mod.c \
 110  112          kctl_string.c \
 111  113          kctl_wr.c
 112  114  
 113  115  KCTLML += 
 114  116  
 115  117  KCTLOBJS = $(KCTLSRCS:%.c=%.o) $(KCTLML:%.s=%.o)
 116  118  
 117  119  SRCS += $(KMDBSRCS) $(PROMSRCS)
 118  120  MLSRCS += $(KMDBML)
 119  121  OBJS = $(SRCS:%.c=%.o) $(KMDBML:%.s=%.o)
 120  122  
 121  123  ALLOBJS = $(OBJS) $(KCTLOBJS)
 122  124  ALLLINTFILES = $(ALLOBJS:%.o=%.ln)
 123  125  
 124  126  # files that need KMDB_VERSION defined
 125  127  VERSFILES = \
 126  128          kmdb_conf.c \
 127  129          kctl_main.c
 128  130  VERSOBJS = $(VERSFILES:%.c=%.o)
  
    | 
      ↓ open down ↓ | 
    85 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX