Re: [Path -tip 1/3] Tracing/ftrace: Change the type of the print_line callback

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Frédéric Weisbecker
Date: Monday, September 29, 2008 - 8:56 am

2008/9/29 Pekka Paalanen <pq@iki.fi>:


It would just make the code more readable in the read_pipe function.
if (sret == TRACE_TYPE_PARTIAL_LINE) tells us more than if (!sret).
And it would avoid some tests to return a boolean in print_trace_line.

No?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Path -tip 1/3] Tracing/ftrace: Change the type of the pri ..., Frederic Weisbecker, (Fri Sep 26, 8:25 am)
Re: [Path -tip 1/3] Tracing/ftrace: Change the type of the ..., Frédéric Weisbecker, (Mon Sep 29, 2:11 am)
Re: [Path -tip 1/3] Tracing/ftrace: Change the type of the ..., Frédéric Weisbecker, (Mon Sep 29, 8:56 am)