On 2017/6/20 21:08, Alexander Shishkin wrote:
Zhou Chengming writes:
The else branch are broken for taskctx:
This is not a good way to open a commit message.
two events can on the same taskctx, but on different cpu.
How?
fd1 = perf_open_event(attr, pid, 0, -1, flags);
fd2 = perf_open_eve
Zhou Chengming writes:
> The else branch are broken for taskctx:
This is not a good way to open a commit message.
> two events can on the same taskctx, but on different cpu.
How?
Regards,
--
Alex
The else branch are broken for taskctx: two events can on the same
taskctx, but on different cpu. This patch fix it, we don't need to
check move_group. We first make sure we're on the same task, or both
per-cpu events, and then make sure we're events for the same cpu.
Signed-off-by: Zhou Chengming
3 matches
Mail list logo