diff options
| author | Jérémie Galarneau <[email protected]> | 2018-08-29 20:16:48 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-09-19 13:25:13 +0000 |
| commit | c04c859f439fb4de9039246370d60a07b9b5bcb5 (patch) | |
| tree | 8c4fbbf0bc2ef3e87396eb8af1e5a36eb0da5d1b /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf util: Make copyfile_offset() global (diff) | |
| download | kernel-c04c859f439fb4de9039246370d60a07b9b5bcb5.tar.gz kernel-c04c859f439fb4de9039246370d60a07b9b5bcb5.zip | |
perf tools: Initialize perf_data_file fd field
Building the perf CTF converter fails with gcc 4.8.4 on Ubuntu 14.04
with the following error:
error: missing initializer for field ‘fd’ of ‘struct perf_data_file’
[-Werror=missing-field-initializers]
Per 4b838b0db4e9 ("perf tools: Add compression id into 'struct
kmod_path'") and the ensuing discussion on the mailing list, it appears
that this affects other distributions and gcc versions.
Signed-off-by: Jeremie Galarneau <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
