Signed-off-by: Liu Yuan <namei.unix at gmail.com> --- collie/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collie/trace.c b/collie/trace.c index 651fd6c..85c8241 100644 --- a/collie/trace.c +++ b/collie/trace.c @@ -26,7 +26,7 @@ static inline void print_thread_name(struct trace_graph_item *item) { - printf("%-20s|", item->tname); + printf("%-*s|", TRACE_THREAD_LEN, item->tname); } static inline void print_time(struct trace_graph_item *item) -- 1.7.9.5 |