URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [kernel/] [v2_0/] [host/] [instr/] [instrument.sh] - Rev 249
Go to most recent revision | Compare with Previous | Blame | View Log
#!/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 */"
Go to most recent revision | Compare with Previous | Blame | View Log