diff options
author | Mathieu Desnoyers <[email protected]> | 2014-04-09 17:06:08 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-04-09 20:02:55 -0400 |
commit | abb43f6998eb6466ea392d3757e673bbdb6ae171 (patch) | |
tree | 068d361c31e1d9e7668c19dbe6324523eac718f9 /tools/perf/util/trace-event-scripting.c | |
parent | b725dfea24b89de672c055b34b22398283a3f4bc (diff) |
tracing: Fix anonymous unions in struct ftrace_event_call
gcc <= 4.5.x has significant limitations with respect to initialization
of anonymous unions within structures. They need to be surrounded by
brackets, _and_ they need to be initialized in the same order in which
they appear in the structure declaration.
Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions