diff options
Diffstat (limited to 'tools/perf/util/session.c')
| -rw-r--r-- | tools/perf/util/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 945375897c2a..3806ea49f1f7 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
| @@ -527,7 +527,7 @@ static void perf_event__comm_swap(union perf_event *event, bool sample_id_all) | |||
| 527 | if (sample_id_all) { | 527 | if (sample_id_all) { |
| 528 | void *data = &event->comm.comm; | 528 | void *data = &event->comm.comm; |
| 529 | 529 | ||
| 530 | data += ALIGN(strlen(data) + 1, sizeof(u64)); | 530 | data += PERF_ALIGN(strlen(data) + 1, sizeof(u64)); |
| 531 | swap_sample_id_all(event, data); | 531 | swap_sample_id_all(event, data); |
| 532 | } | 532 | } |
| 533 | } | 533 | } |
| @@ -544,7 +544,7 @@ static void perf_event__mmap_swap(union perf_event *event, | |||
| 544 | if (sample_id_all) { | 544 | if (sample_id_all) { |
| 545 | void *data = &event->mmap.filename; | 545 | void *data = &event->mmap.filename; |
| 546 | 546 | ||
| 547 | data += ALIGN(strlen(data) + 1, sizeof(u64)); | 547 | data += PERF_ALIGN(strlen(data) + 1, sizeof(u64)); |
| 548 | swap_sample_id_all(event, data); | 548 | swap_sample_id_all(event, data); |
| 549 | } | 549 | } |
| 550 | } | 550 | } |
