mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-22 17:23:06 +00:00
18a8f69ad8
We have a lot of examples that use jiffies, but they stopped working long ago on x86-64 (since Linux kernel commit d8ad6d39c35d ("x86_64: Fix jiffies ODR violation") (in v5.8 and backported to stable releases)) and never worked on other architectures. This is because jiffies is defined in the Linux kernel's linker script. #277 proposed updating the examples to use jiffies_64, but I would guess that most kernel developers are familiar with jiffies and many have never seen jiffies_64. jiffies is also a nicer name to type in live demos. Let's add a case to the Linux kernel object finder to get the jiffies variable. Reported-by: Martin Liska <mliska@suse.cz> Signed-off-by: Omar Sandoval <osandov@osandov.com> |
||
---|---|---|
.. | ||
_static | ||
case_studies | ||
exts | ||
release_highlights | ||
advanced_usage.rst | ||
api_reference.rst | ||
case_studies.rst | ||
conf.py | ||
favicon.ico | ||
getting_debugging_symbols.rst | ||
helpers.rst | ||
index.rst | ||
installation.rst | ||
release_highlights.rst | ||
requirements.txt | ||
user_guide.rst |