[WIP] openrisc: implement profiling