[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <gsntr09pdf3x.fsf@coltonlewis-kvm.c.googlers.com>
Date: Wed, 11 Sep 2024 22:01:38 +0000
From: Colton Lewis <coltonlewis@...gle.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: kvm@...r.kernel.org, oliver.upton@...ux.dev, seanjc@...gle.com,
peterz@...radead.org, mingo@...hat.com, acme@...nel.org, namhyung@...nel.org,
mark.rutland@....com, alexander.shishkin@...ux.intel.com, jolsa@...nel.org,
irogers@...gle.com, adrian.hunter@...el.com, kan.liang@...ux.intel.com,
will@...nel.org, linux@...linux.org.uk, catalin.marinas@....com,
mpe@...erman.id.au, npiggin@...il.com, christophe.leroy@...roup.eu,
naveen@...nel.org, hca@...ux.ibm.com, gor@...ux.ibm.com,
agordeev@...ux.ibm.com, borntraeger@...ux.ibm.com, svens@...ux.ibm.com,
tglx@...utronix.de, bp@...en8.de, dave.hansen@...ux.intel.com, x86@...nel.org,
hpa@...or.com, linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linuxppc-dev@...ts.ozlabs.org,
linux-s390@...r.kernel.org
Subject: Re: [PATCH 2/5] perf: Hoist perf_instruction_pointer() and perf_misc_flags()
Ingo Molnar <mingo@...nel.org> writes:
> * Colton Lewis <coltonlewis@...gle.com> wrote:
>> --- a/kernel/events/core.c
>> +++ b/kernel/events/core.c
>> @@ -6915,6 +6915,16 @@ void perf_unregister_guest_info_callbacks(struct
>> perf_guest_info_callbacks *cbs)
>> EXPORT_SYMBOL_GPL(perf_unregister_guest_info_callbacks);
>> #endif
>> +unsigned long perf_misc_flags(unsigned long pt_regs *regs)
>> +{
>> + return perf_arch_misc_flags(regs);
>> +}
>> +
>> +unsigned long perf_instruction_pointer(unsigned long pt_regs *regs)
>> +{
>> + return perf_arch_instruction_pointer(regs);
>> +}
> What's an 'unsigned long pt_regs' ??
That is fixed in a later commit. I will correct this one also.
> Thanks,
> Ingo
Powered by blists - more mailing lists