add library file trace.c