Add c program to transfer kernel logs