lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 16 Jun 2015 20:27:07 -0600 From: David Ahern <dsahern@...il.com> To: Hemant Kumar <hemant@...ux.vnet.ibm.com>, linuxppc-dev@...ts.ozlabs.org CC: linux-kernel@...r.kernel.org, kvm-ppc@...r.kernel.org, acme@...nel.org, mingo@...nel.org, sukadev@...ux.vnet.ibm.com, maddy@...ux.vnet.ibm.com, srikar@...ux.vnet.ibm.com, paulus@...ba.org, namhyung@...nel.org, jolsa@...nel.org, peterz@...radead.org Subject: Re: [RFC PATCH] perf/kvm: Guest Symbol Resolution for powerpc On 6/16/15 7:24 PM, Hemant Kumar wrote: > Because, this depends on the kernel tracepoint "kvm_hv:kvm_guest_exit". > perf_prepare_sample() in the kernel side sets the event->header.misc > field to > PERF_RECORD_MISC_KERNEL through perf_misc_flags(pt_regs). In case of > tracepoints which always get hit in the host kernel context, the > perf_misc_flags() will always return PERF_RECORD_MISC_KERNEL. > > IMHO we will rather have to set the cpumode in the user space for this > tracepoint > and we can't depend on the event->header.misc field for this case. > > What would you suggest? > oh, right you are using a tracepoint for this. It does not have the hooks to specify cpumode. Never mind. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists