diff options
author | Thomas Richter <[email protected]> | 2018-10-25 09:04:05 +0100 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2018-11-02 08:31:56 +0100 |
commit | c43e1c5a801fdde1aad0a2f9ed948753b5275d56 (patch) | |
tree | e55e13d0102127478bea85a4049b7ae8dd3a09a5 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
parent | e12e4044aede97974f2222eb7f0ed726a5179a32 (diff) |
s390/cpum_sf: Rework attribute definition for diagnostic sampling
Previously, the attribute entry for diagnostic sampling was added
if authorized. Otherwise, the array of struct attribute contains
two NULL values.
Change this logic and reserve space for the attribute for diagnostic
sampling. If diagnostic sampling is authorized, add an entry in the
respective position in the array of struct attribute.
Signed-off-by: Thomas Richter <[email protected]>
Reviewed-by: Hendrik Brueckner <[email protected]>
Suggested-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions