[Crash-utility] Re: [PATCH v2] arm64: fix regression for the determination of section_size_bits

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

 



Hi Lianbo,
> 
> This is specific version information related to Android, to be honest, I'm
> not very familiar with Android things.
> 
> Anyway, I'm wondering if it's possible to not add the specific Android
> version information?
> 

As I mentioned in previous mail: https://lists.crash-utility.osci.io/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx/thread/FW4WMCEQC2UTPWVQ6XQIPSRBYLKS2CUA/
The Andriod GKI version is determined by both Android version and kernel version. It's neccessry to parse the specific Android version to determine the section_size_bits for Andriod GKI vmcore.
The change of SECTION_SIZE_BITS is backport from mainline Linux since android12-5.10 later version which meets the following condition:
Kernel Version >= 5.10 && Android release version >= 12

> 
> It's not a good idea to decide how your code should be executed by checking
> version information, although similar code exists in crash tools, I would
> not recommend this way, unless we have no better solutions. Could you
> please investigate it more?
> 
I have no other better soulution to distinguish the Anrdiord GKI version before or after android12-5.10 after investigated it.

Thanks
Qiwu
--
Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux