diff options
author | Jiri Olsa <[email protected]> | 2022-08-31 14:40:41 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-08-31 13:23:44 -0300 |
commit | 35503ce12a2c3d5d9a94e3cd85a06739b0120f79 (patch) | |
tree | 41ba48b5551bbbf71ddc59be517c93d6d24142d6 /net/lapb/lapb_subr.c | |
parent | 3f5df3ac646e21a79a421ae4037c4ef0632bcaa9 (diff) |
perf script: Skip dummy event attr check
Hongtao Yu reported problem when displaying uregs in perf script
for system wide perf.data:
# perf script -F uregs | head -10
Samples for 'dummy:HG' event do not have UREGS attribute set. Cannot print 'uregs' field.
The problem is the extra dummy event added for system wide,
which does not have proper sample_type setup.
Skipping attr check completely for dummy event as suggested
by Namhyung, because it does not have any samples anyway.
Reported-by: Hongtao Yu <[email protected]>
Suggested-by: Namhyung Kim <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions