[Ltrace-devel] ltrace and libelf

Marc Kleine-Budde mkl at pengutronix.de
Wed Nov 3 12:12:17 UTC 2010


Hello,

sorry for the delay. I was ill.

On 11/03/2010 12:32 PM, Petr Machata wrote:
> 01.11.2010 19:32, Joe Damato wrote:
>> On Mon, Nov 1, 2010 at 7:58 AM, Petr Machata<pmachata at redhat.com>  wrote:
>>> 01.11.2010 14:58, Marc Kleine-Budde wrote:
>>>>
>>>> Sounds like a plan.
>>>
>>> Wouldn't something simpler do?  I wonder about the AC_CHECK_LIBRARY
>>> magic
>>> that you have in there, is that necessary?

No, not here, was copied from another project.
The downside for this approach is that now everything that is linked is
linked against libelf, even the convenience libs.

/bin/bash ../../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -O2
  -o ../libcpu.la  plt.lo regs.lo trace.lo  -lelf

But that's just a cosmetic problem, doesn't affect the file size. I've
tested it with with libelfs on ubuntu. You can add my Tested-by:

> Since there was no answer, my proposal became a pull request.  Included
> in that pull request is Marc's AS_HELP_STRING patch.
> https://github.com/ice799/ltrace/pull/3

When doing kernel development it's usual add you S-o-b to the patches
from other people if you add then to you own branch. How do you handle
it in ltrace?

Cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20101103/2f762de6/attachment.pgp>


More information about the Ltrace-devel mailing list