[PATCH 2/3] tracing: Fix synthetic event to allow semicolon at end

2018-10-19 Thread Steven Rostedt
From: Masami Hiramatsu Fix synthetic event to allow independent semicolon at end. The synthetic_events interface accepts a semicolon after the last word if there is no space. # echo "myevent u64 var;" >> synthetic_events But if there is a space, it returns an error. # echo "myevent u64 var

[PATCH 2/3] tracing: Fix synthetic event to allow semicolon at end

2018-10-19 Thread Steven Rostedt
From: Masami Hiramatsu Fix synthetic event to allow independent semicolon at end. The synthetic_events interface accepts a semicolon after the last word if there is no space. # echo "myevent u64 var;" >> synthetic_events But if there is a space, it returns an error. # echo "myevent u64 var

[PATCH 2/3] tracing: Fix synthetic event to allow semicolon at end

2018-10-18 Thread Masami Hiramatsu
Fix synthetic event to allow independent semicolon at end. The synthetic_events interface accepts a semicolon after the last word if there is no space. # echo "myevent u64 var;" >> synthetic_events But if there is a space, it returns an error. # echo "myevent u64 var ;" > synthetic_events

[PATCH 2/3] tracing: Fix synthetic event to allow semicolon at end

2018-10-18 Thread Masami Hiramatsu
Fix synthetic event to allow independent semicolon at end. The synthetic_events interface accepts a semicolon after the last word if there is no space. # echo "myevent u64 var;" >> synthetic_events But if there is a space, it returns an error. # echo "myevent u64 var ;" > synthetic_events