History log of /llvm-project/compiler-rt/test/profile/instrprof-merge-error.c (Results 1 – 6 of 6)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4
# f52f8e81 28-Aug-2023 Zequan Wu <zequanwu@google.com>

[Profile] Allow online merging with debug info correlation.

When using debug info correlation, value profiling needs to be switched off.
So, we are only merging counter sections. In that case the ex

[Profile] Allow online merging with debug info correlation.

When using debug info correlation, value profiling needs to be switched off.
So, we are only merging counter sections. In that case the existance of data
section is just used to provide an extra check in case of corrupted profile.

This patch performs counter merging by iterating the counter section by counter
size and add them together.

Reviewed By: ellis, MaskRay

Differential Revision: https://reviews.llvm.org/D157632

show more ...


# cd591e02 28-Aug-2023 Vitaly Buka <vitalybuka@google.com>

Revert "Reland "[Profile] Allow online merging with debug info correlation.""

Breaks windows https://lab.llvm.org/buildbot/#/builders/127/builds/54239

This reverts commit d80992032fd0d7da70b2bd1a59

Revert "Reland "[Profile] Allow online merging with debug info correlation.""

Breaks windows https://lab.llvm.org/buildbot/#/builders/127/builds/54239

This reverts commit d80992032fd0d7da70b2bd1a59066703c3c21fbb.

show more ...


# d8099203 28-Aug-2023 Zequan Wu <zequanwu@google.com>

Reland "[Profile] Allow online merging with debug info correlation."

Original patch: D157632.

Fixed the issue when data is 0 by relaxing the condition.

Reviewed By: ellis

Differential Revision: h

Reland "[Profile] Allow online merging with debug info correlation."

Original patch: D157632.

Fixed the issue when data is 0 by relaxing the condition.

Reviewed By: ellis

Differential Revision: https://reviews.llvm.org/D159000

show more ...


# 9b6b6bbc 22-Aug-2023 Arthur Eubanks <aeubanks@google.com>

Revert "[Profile] Allow online merging with debug info correlation."

This reverts commit cf2cf195d5fb0a07c122c5c274bd6deb0790e015.
This breaks merging profiles when nothing is instrumented, see comm

Revert "[Profile] Allow online merging with debug info correlation."

This reverts commit cf2cf195d5fb0a07c122c5c274bd6deb0790e015.
This breaks merging profiles when nothing is instrumented, see comments in https://reviews.llvm.org/D157632.

This also reverts follow-up commit bfc965c54fdbfe33a0785b45903b53fc11165f13.

show more ...


Revision tags: llvmorg-17.0.0-rc3
# cf2cf195 10-Aug-2023 Zequan Wu <zequanwu@google.com>

[Profile] Allow online merging with debug info correlation.

When using debug info correlation, value profiling needs to be switched off.
So, we are only merging counter sections. In that case the ex

[Profile] Allow online merging with debug info correlation.

When using debug info correlation, value profiling needs to be switched off.
So, we are only merging counter sections. In that case the existance of data
section is just used to provide an extra check in case of corrupted profile.

This patch performs counter merging by iterating the counter section by counter
size and add them together.

Reviewed By: ellis, MaskRay

Differential Revision: https://reviews.llvm.org/D157632

show more ...


# 8287db22 10-Aug-2023 Ellis Hoag <ellis.sparky.hoag@gmail.com>

[InstrProf] Report error when merging temporal profiles

Temporal profiles do not support profile merging at runtime. The reason
is that each function can only store one timestamp and the
`llmv-profd

[InstrProf] Report error when merging temporal profiles

Temporal profiles do not support profile merging at runtime. The reason
is that each function can only store one timestamp and the
`llmv-profdata` tool is responsible for sampling traces during the merge
command. Report an error in `__llvm_profile_merge_from_buffer()` if
merging a temporal profile.

The added test also checks that lightweight profiles throw an error,
although this may be fixed in https://reviews.llvm.org/D157632

Reviewed By: MaskRay, zequanwu

Differential Revision: https://reviews.llvm.org/D157664

show more ...