diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-09-22 01:00:31 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-27 23:50:24 +0300 |
commit | 7b084630153152239d84990ac4540c2dd360186f (patch) | |
tree | 1a4f811f91b4843ca55bd2c5c5af57a4aa668430 /arch/s390 | |
parent | dca6344d7a77dd0501a73745f4a9fb1ee2bc9d7c (diff) | |
download | linux-7b084630153152239d84990ac4540c2dd360186f.tar.xz |
perf: Use sample_flags for addr
Use the new sample_flags to indicate whether the addr field is filled by
the PMU driver. As most PMU drivers pass 0, it can set the flag only if
it has a non-zero value. And use 0 in perf_sample_output() if it's not
filled already.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20220921220032.2858517-1-namhyung@kernel.org
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions