Re: [PATCH v5 13/17] perf: Support deferred user callchains
Steven Rostedt <[email protected]> Thu, 8 May 2025 14:54:39 -0400
| Newsgroups | org.kernel.vger.linux-toolchains,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users,org.kernel.vger.linux-trace-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 8 May 2025 14:49:59 -0400 Mathieu Desnoyers <[email protected]> wrote: > AFAIR, the cookie method generates the cookie by combining the cpu > number with a per-cpu count. > > This ensures that there are not two cookies emitted at the same time > from two CPUs that have the same value by accident. > > How would the timestamp method prevent this ? Do we care? It only needs to be unique per pid doesn't it? -- Steve