tracing: Clean up of set_tracer_flag()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tracing: Exit out immediately after update_marker_trace()kernel/ | +4 | 1 reply | |
| 2/2 | tracing: Use switch statement instead of ifs in set_tracer_flag()kernel/ | +23 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Masami Hiramatsu (Google) |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] tracing: Clean up of set_tracer_flag()
The set_tracer_flag() function takes a mask that has a single bit set. It then goes through a bunch of "if ()" statements looking at what the mask is to perform the necessary operations. It is simpler to switch that over to a "switch ()" statement.
Steven Rostedt (2):
tracing: Exit out immediately after update_marker_trace()
tracing: Use switch statement instead of ifs in set_tracer_flag()
----
kernel/trace/trace.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-)