[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3 2/3] XENVER_build_id: Provide ld-embedded build-ids (v8)



>>> On 14.01.16 at 03:02, <konrad@xxxxxxxxxx> wrote:
>> > Or are you suggesting that perhaps the kernel should at boot time
>> > print the build-id (like it does the changset)?
>> 
>> Perhaps, albeit to me that's a bit orthogonal to being able to find out
>> the build ID for a given binary.
> 
> I can make some magic objdump + awk to extract the buildid from
> the hypervisor and deposit as a text file in /usr/../xen/debug?
> Similar to how xen-syms is copied there?
> 
> Would that work?

No, because of ...

> But I am a bit lost of what your use-case is?

... this is about holding a standalone Xen binary in hands, and
wanting to identify its build ID. Not sure how limited the range of
permitted things is in the simplified ELF binary we generate -
perhaps adding a proper PT_NOTE segment there would do?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.