Skip to contentSkip to conversation

ABI navigator for libdrm

DISCUSSION Andrey Ponomarenko 5 participants 8 messages Feb 26, 2017 – Feb 28, 2017

lore
Share & tools
lore
#0 lore raw

Hello,

I'd like to present the ABI Navigator project to search for binary symbols (functions, global data, etc.) across recent versions of the libdrm and other open-source libraries: https://abi-laboratory.pro/index.php?view=navigator

The project allows to find out in which versions of the library some symbol is defined, added, removed or changed. The data is taken from the ABI Tracker report for the library: https://abi-laboratory.pro/tracker/timeline/libdrm/

Example for symbol drmGetDevice from libdrm.so: https://abi-laboratory.pro/index.php?view=navigator&selected=drmGetDevice

The project aims to help library users and maintainers to resolve issues with missed symbols and navigate through the reports in the ABI Tracker.

Have you ever encountered the "undefined reference" error or want to know whether the symbol is _stable_ enough to import by your code? Try to find it in the ABI Navigator!

Enjoy!
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 11 lines · Andrey Ponomarenko

Hello,

I'd like to present the ABI Navigator project to search for binary symbols (functions, global data, etc.) across recent versions of the libdrm and other open-source libraries: https://abi-laboratory.pro/index.php?view=navigator

The project allows to find out in which versions of the library some symbol is defined, added, removed or changed. The data is taken from the ABI Tracker report for the library: https://abi-laboratory.pro/tracker/timeline/libdrm/

Example for symbol drmGetDevice from libdrm.so: https://abi-laboratory.pro/index.php?view=navigator&selected=drmGetDevice

The project aims to help library users and maintainers to resolve issues with missed symbols and navigate through the reports in the ABI Tracker.

Have you ever encountered the "undefined reference" error or want to know whether the symbol is _stable_ enough to import by your code? Try to find it in the ABI Navigator!

Looks pretty cool. One small suggestion for the UI: Adding separate columns for object/struct changes would be good. Atm it's harder to find these, and e.g. libdrm has a releases with 100% abi compat rating, but still yellow box. The yellow box is because we extended some structs - direct links to those sections would be nice too.

Cheers, Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

26.02.2017, 22:15, "Daniel Vetter":

Quoted 11 lines

On Sun, Feb 26, 2017 at 10:51 AM, Andrey Ponomarenko:

Quoted 10 lines

 Hello,

 I'd like to present the ABI Navigator project to search for binary symbols (functions, global data, etc.) across recent versions of the libdrm and other open-source libraries: https://abi-laboratory.pro/index.php?view=navigator

 The project allows to find out in which versions of the library some symbol is defined, added, removed or changed. The data is taken from the ABI Tracker report for the library: https://abi-laboratory.pro/tracker/timeline/libdrm/

 Example for symbol drmGetDevice from libdrm.so: https://abi-laboratory.pro/index.php?view=navigator&selected=drmGetDevice

 The project aims to help library users and maintainers to resolve issues with missed symbols and navigate through the reports in the ABI Tracker.

Quoted 8 lines
Quoted 1 line

 Have you ever encountered the "undefined reference" error or want to know whether the symbol is _stable_ enough to import by your code? Try to find it in the ABI Navigator!

Looks pretty cool. One small suggestion for the UI: Adding separate columns for object/struct changes would be good. Atm it's harder to find these, and e.g. libdrm has a releases with 100% abi compat rating, but still yellow box. The yellow box is because we extended some structs - direct links to those sections would be nice too.

Added the "Total Changes" column to the report table: https://abi-laboratory.pro/tracker/timeline/libdrm/

Thank you.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
Quoted 14 lines · Andrey Ponomarenko

26.02.2017, 22:15, "Daniel Vetter":

Quoted 13 lines

On Sun, Feb 26, 2017 at 10:51 AM, Andrey Ponomarenko:

Quoted 11 lines

Hello,

I'd like to present the ABI Navigator project to search for binary symbols (functions, global data, etc.) across recent versions of the libdrm and other open-source libraries: https://abi-laboratory.pro/index.php?view=navigator

The project allows to find out in which versions of the library some symbol is defined, added, removed or changed. The data is taken from the ABI Tracker report for the library: https://abi-laboratory.pro/tracker/timeline/libdrm/

Example for symbol drmGetDevice from libdrm.so: https://abi-laboratory.pro/index.php?view=navigator&selected=drmGetDevice

The project aims to help library users and maintainers to resolve issues with missed symbols and navigate through the reports in the ABI Tracker.

Have you ever encountered the "undefined reference" error or want to know whether the symbol is _stable_ enough to import by your code? Try to find it in the ABI Navigator!

Quoted 9 lines
Quoted 6 lines

Looks pretty cool. One small suggestion for the UI: Adding separate columns for object/struct changes would be good. Atm it's harder to find these, and e.g. libdrm has a releases with 100% abi compat rating, but still yellow box. The yellow box is because we extended some structs - direct links to those sections would be nice too.

Added the "Total Changes" column to the report table: https://abi-laboratory.pro/tracker/timeline/libdrm/

Cool

Any chance you could add to configure line: --enable-freedreno --enable-vc4 and possibly --etnaviv-experimental-api

It should be possible to compile test and check abi for the libdrm modules for arm drivers (but by default they are only enabled for arm builds)

BR,
-R
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
Quoted 26 lines · Rob Clark
Quoted 14 lines · Andrey Ponomarenko

26.02.2017, 22:15, "Daniel Vetter":

Quoted 13 lines

On Sun, Feb 26, 2017 at 10:51 AM, Andrey Ponomarenko:

Quoted 11 lines

Hello,

I'd like to present the ABI Navigator project to search for binary symbols (functions, global data, etc.) across recent versions of the libdrm and other open-source libraries: https://abi-laboratory.pro/index.php?view=navigator

The project allows to find out in which versions of the library some symbol is defined, added, removed or changed. The data is taken from the ABI Tracker report for the library: https://abi-laboratory.pro/tracker/timeline/libdrm/

Example for symbol drmGetDevice from libdrm.so: https://abi-laboratory.pro/index.php?view=navigator&selected=drmGetDevice

The project aims to help library users and maintainers to resolve issues with missed symbols and navigate through the reports in the ABI Tracker.

Have you ever encountered the "undefined reference" error or want to know whether the symbol is _stable_ enough to import by your code? Try to find it in the ABI Navigator!

Quoted 9 lines
Quoted 6 lines

Looks pretty cool. One small suggestion for the UI: Adding separate columns for object/struct changes would be good. Atm it's harder to find these, and e.g. libdrm has a releases with 100% abi compat rating, but still yellow box. The yellow box is because we extended some structs - direct links to those sections would be nice too.

Added the "Total Changes" column to the report table: https://abi-laboratory.pro/tracker/timeline/libdrm/

Quoted 9 lines

Cool

Any chance you could add to configure line: --enable-freedreno --enable-vc4 and possibly --etnaviv-experimental-api

It should be possible to compile test and check abi for the libdrm modules for arm drivers (but by default they are only enabled for arm builds)

Fwiw we already have the explicit ABI tests in libdrm wired to `make check'. Look for the *symbol-check files.... actually we're missing a libdrm.so one.

That doesn't make the project any less cool/appreciated though ;-) Emil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
Quoted 41 lines · Andrey Ponomarenko

27.02.2017, 15:30, "Rob Clark":

Quoted 40 lines

On Mon, Feb 27, 2017 at 1:41 AM, Andrey Ponomarenko:

Quoted 25 lines

26.02.2017, 22:15, "Daniel Vetter":

Quoted 24 lines

On Sun, Feb 26, 2017 at 10:51 AM, Andrey Ponomarenko:

Quoted 22 lines

Hello,

I'd like to present the ABI Navigator project to search for binary
symbols (functions, global data, etc.) across recent versions of the libdrm and other open-source libraries:
https://abi-laboratory.pro/index.php?view=navigator

The project allows to find out in which versions of the library some
symbol is defined, added, removed or changed. The data is taken from the ABI Tracker report for the library:
https://abi-laboratory.pro/tracker/timeline/libdrm/

Example for symbol drmGetDevice from libdrm.so:
https://abi-laboratory.pro/index.php?view=navigator&selected=drmGetDevice

The project aims to help library users and maintainers to resolve
issues with missed symbols and navigate through the reports in the ABI Tracker.

Have you ever encountered the "undefined reference" error or want to
know whether the symbol is _stable_ enough to import by your code? Try to find it in the ABI Navigator!

Quoted 8 lines
Quoted 5 lines

Looks pretty cool. One small suggestion for the UI: Adding separate columns for object/struct changes would be good. Atm it's harder to find these, and e.g. libdrm has a releases with 100% abi compat rating, but still yellow box. The yellow box is because we extended some structs - direct links to those sections would be nice too.

Added the "Total Changes" column to the report table:
https://abi-laboratory.pro/tracker/timeline/libdrm/

Cool

Any chance you could add to configure line: --enable-freedreno --enable-vc4 and possibly --etnaviv-experimental-api

Quoted 6 lines
Quoted 4 lines

It should be possible to compile test and check abi for the libdrm modules for arm drivers (but by default they are only enabled for arm builds)

Done: https://abi-laboratory.pro/tracker/timeline/libdrm/

very cool, thanks

BR,
-R
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to Andrey Ponomarenko
Quoted 7 lines · Andrey Ponomarenko

Hello,

I'd like to present the ABI Navigator project to search for binary symbols (functions, global data, etc.) across recent versions of the libdrm and other open-source libraries: https://abi-laboratory.pro/index.php?view=navigator

The project allows to find out in which versions of the library some symbol is defined, added, removed or changed. The data is taken from the ABI Tracker report for the library: https://abi-laboratory.pro/tracker/timeline/libdrm/

Example for symbol drmGetDevice from libdrm.so: https://abi-laboratory.pro/index.php?view=navigator&selected=drmGetDevice

Thanks!
Any chance of getting a (json) api for this?

It'd be kinda nice to build a tool that can just parse a file and spit out the minimum required version of each lib used in there. Having an easy way to query when each symbol was introduced & last changed would really help with that.

Cheers,
Eric

Quoted 6 lines

The project aims to help library users and maintainers to resolve issues with missed symbols and navigate through the reports in the ABI Tracker.

Have you ever encountered the "undefined reference" error or want to know whether the symbol is _stable_ enough to import by your code? Try to find it in the ABI Navigator!

Enjoy!

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel