Mercurial > ecos-v2_0-branch
view packages/kernel/current/host/instr/instrument.sh @ 823:19a153ac403c default tip
* Added execute permissions to files missed in conversion from CVS
| author | alexs |
|---|---|
| date | Thu, 08 May 2003 17:42:17 +0000 |
| parents | a65a4055f146 |
| children |
line wrap: on
line source
#!/bin/sh echo "/* This is an automatically generated file. Do not edit. */" echo "/* Repository name: PACKAGES/kernel/VERSION/include/instrument_desc.h */" echo "/* Install tree : INSTALL/include/cyg/kernel/instrument_desc.h */" echo echo "struct instrument_desc_s { " echo " char * msg; " echo " CYG_WORD num; " echo "}; " echo echo "#ifdef CYGDBG_KERNEL_INSTRUMENT_MSGS_DEFINE_TABLE " echo struct instrument_desc_s instrument_desc[] = { grep -e \#define.CYG_INSTRUMENT_EVENT -e \#define.CYG_INSTRUMENT_CLASS $1 | grep -v MAX | cut -d " " -f 2- | cut -d "_" -f 4- | sort | awk '{ print("{\""$1"\", " $2 "},") }' echo { 0, 0 } echo }\; echo "#else /* CYGDBG_KERNEL_INSTRUMENT_MSGS_DEFINE_TABLE */ " echo "extern struct instrument_desc_s instrument_desc[]; " echo "#endif /* CYGDBG_KERNEL_INSTRUMENT_MSGS_DEFINE_TABLE */ " echo echo "/* EOF instrument_desc.h */"
