Messages in this thread | | | From | Linus Torvalds <> | Date | Thu, 18 Jun 2020 15:59:44 -0700 | Subject | Re: [PATCH 07/25] mm/csky: Use mm_fault_accounting() |
| |
On Thu, Jun 18, 2020 at 3:28 PM Peter Xu <peterx@redhat.com> wrote: > > > > if (regs) > > > perf_sw_event(event_type, 1, regs, address); > > Sadly, this line seems to fail the compilation:
Yeah, I should have known that. We require a constant event ID, because it uses the magical static keys.
So never mind. The perf_sw_event() calls can't be shared for two different ID's.
Linus
| |