diff options
| author | 2022-09-21 15:00:31 -0700 | |
|---|---|---|
| committer | 2022-09-27 22:50:24 +0200 | |
| commit | 7b084630153152239d84990ac4540c2dd360186f (patch) | |
| tree | 1a4f811f91b4843ca55bd2c5c5af57a4aa668430 /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | perf/core: Convert snprintf() to scnprintf() (diff) | |
| download | linux-dev-7b084630153152239d84990ac4540c2dd360186f.tar.xz linux-dev-7b084630153152239d84990ac4540c2dd360186f.zip | |
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 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
