Rename coreboot_ram stage to ramstage. This is done in order to provide consistency with other stage names (bootblock, romstage) and to allow any Makefile rule generalization, required for patches to be submitted later. Change-Id: Ib66e43b7e17b9c48b2d099670ba7e7d857673386 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: http://review.coreboot.org/5567 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
		
			
				
	
	
		
			21 lines
		
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			544 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| #Parse a log and get back the function names and line numbers
 | |
| #Provide a log file as first argument
 | |
| 
 | |
| #Please rewrite to something more saner !
 | |
| 
 | |
| cat $1 | while read line ; do
 | |
| A=`echo $line | cut -c 1`
 | |
| 
 | |
| if [ "$A" = '~' ] ; then
 | |
| FROM=`echo $line | tr \~ \( | tr \) \(  | awk -F\( '{print $3}'`
 | |
| TO=`echo $line  | tr \~ \( | tr \) \(|awk -F\( '{print $2}'`
 | |
| addr2line -e ../../build/cbfs/fallback/ramstage.debug "$FROM" | tr -d "\n"
 | |
| echo -n " calls "
 | |
| addr2line -e ../../build/cbfs/fallback/ramstage.debug "$TO"
 | |
| else
 | |
| echo "$line"
 | |
| fi
 | |
| 
 | |
| done
 |