...@vger.kernel.org; linux-trace-kernel@vger.kernel.org; Peter
Zijlstra; Frederic Weisbecker; Arnaldo Carvalho de Melo; Namhyung Kim
Subject: Re: [PATCH v2] trace/trace_event_perf: remove duplicate samples on the
first tracepoint event
Can one of the perf folks give me an Ack, and I'll take
Can one of the perf folks give me an Ack, and I'll take this through my tree.
-- Steve
On Fri, 13 Sep 2024 03:13:47 +0100
Levi Yun wrote:
> When a tracepoint event is created with attr.freq = 1,
> 'hwc->period_left' is not initialized correctly. As a result,
> in the perf_swevent_overflow() fu
-trace-kernel@vger.kernel.org; Yeo
Reum Yun
Subject: [PATCH v2] trace/trace_event_perf: remove duplicate samples on the
first tracepoint event
When a tracepoint event is created with attr.freq = 1,
'hwc->period_left' is not initialized correctly. As a result,
in the perf_swe
When a tracepoint event is created with attr.freq = 1,
'hwc->period_left' is not initialized correctly. As a result,
in the perf_swevent_overflow() function, when the first time the event occurs,
it calculates the event overflow and the perf_swevent_set_period() returns 3,
this leads to the event a