Re: [PATCHv3] Introduced new tracing mode KCOV_MODE_UNIQUE.

2021-04-17 Thread Andrey Konovalov
On Fri, Apr 16, 2021 at 10:42 AM Dmitry Vyukov wrote: > > On Sat, Mar 27, 2021 at 3:56 PM Andrey Konovalov wrote: > > > > On Fri, Mar 26, 2021 at 9:52 PM Alexander Lochmann > > wrote: > > > > > > > Hi Alexander, > > > > > It simply stores the executed PCs. > > > The execution order is discarded.

Re: [PATCHv3] Introduced new tracing mode KCOV_MODE_UNIQUE.

2021-04-16 Thread Dmitry Vyukov
On Sat, Mar 27, 2021 at 3:56 PM Andrey Konovalov wrote: > > On Fri, Mar 26, 2021 at 9:52 PM Alexander Lochmann > wrote: > > > > Hi Alexander, > > > It simply stores the executed PCs. > > The execution order is discarded. > > Each bit in the shared buffer represents every fourth > > byte of the te

Re: [PATCHv3] Introduced new tracing mode KCOV_MODE_UNIQUE.

2021-03-27 Thread Andrey Konovalov
On Fri, Mar 26, 2021 at 9:52 PM Alexander Lochmann wrote: > Hi Alexander, > It simply stores the executed PCs. > The execution order is discarded. > Each bit in the shared buffer represents every fourth > byte of the text segment. > Since a call instruction on every supported > architecture is a

Re: [PATCHv3] Introduced new tracing mode KCOV_MODE_UNIQUE.

2021-03-27 Thread Greg Kroah-Hartman
On Fri, Mar 26, 2021 at 09:51:28PM +0100, Alexander Lochmann wrote: > It simply stores the executed PCs. > The execution order is discarded. > Each bit in the shared buffer represents every fourth > byte of the text segment. > Since a call instruction on every supported > architecture is at least f

[PATCHv3] Introduced new tracing mode KCOV_MODE_UNIQUE.

2021-03-26 Thread Alexander Lochmann
It simply stores the executed PCs. The execution order is discarded. Each bit in the shared buffer represents every fourth byte of the text segment. Since a call instruction on every supported architecture is at least four bytes, it is safe to just store every fourth byte of the text segment. In co