This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [UPDATE] Linux Kernel Event Trace tool(LKET)


On Friday, May 26, 2006 7:35 PM, Guang Lei Li wrote:
>> BTW, I checked in binary2ASCII converter yesterday. I once let
>> SystemTap build b2a converter by default, but after some considers I
>> deleted it from SystemTap's makefile system. The reason is that I
>> used a balanced binary search in b2a which comes from GLIB2. So now
>> b2a depends on glib2 & glib2-devel. I think maybe it's not good to
>> let SystemTap depends on a new package but I am not quite sure since
>> the functionalities provided by glib2 is really useful. Any ideas?
>> 
> 
> Added conditional build of lket-b2a. If glib2-devel is not installed,
> just skips and gives a warning.
> I will add man page of lket-b2a

Please note that b2a is generating several warnings on x86_64:

Making all in runtime/lket/b2a
make[2]: Entering directory
`/home/jistone/systemtap/src/runtime/lket/b2a'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -O2 -D_GNU_SOURCE -Wall
`pkg-config --cflags glib-2.0` -g -O2 -MT lket_b2a-lket_b2a.o -MD -MP
-MF ".deps/lket_b2a-lket_b2a.Tpo" -c -o lket_b2a-lket_b2a.o `test -f
'lket_b2a.c' || echo './'`lket_b2a.c; \
then mv -f ".deps/lket_b2a-lket_b2a.Tpo" ".deps/lket_b2a-lket_b2a.Po";
else rm -f ".deps/lket_b2a-lket_b2a.Tpo"; exit 1; fi
lket_b2a.c: In function 'register_appname':
lket_b2a.c:229: warning: cast to pointer from integer of different size
lket_b2a.c: In function 'compareFunc':
lket_b2a.c:235: warning: cast from pointer to integer of different size
lket_b2a.c:235: warning: cast from pointer to integer of different size
lket_b2a.c:236: warning: cast from pointer to integer of different size
lket_b2a.c:236: warning: cast from pointer to integer of different size
lket_b2a.c: In function 'print_pkt_header':
lket_b2a.c:405: warning: cast to pointer from integer of different size
lket_b2a.c: In function 'b2a_vsnprintf':
lket_b2a.c:526: warning: format '%lld' expects type 'long long int', but
argument 3 has type 'long int'
gcc  -g -O2   -o lket-b2a `pkg-config --libs glib-2.0`
lket_b2a-lket_b2a.o
make[2]: Leaving directory
`/home/jistone/systemtap/src/runtime/lket/b2a'


Josh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]