[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200904171257.n3HCvOba029938@post.webmailer.de>
Date: Fri, 17 Apr 2009 14:57:24 +0200 (MEST)
From: "Oliver Hartkopp" <oliver@...tkopp.net>
To: nhorman@...driver.com
Cc: netdev@...r.kernel.org
Subject: dropwatch for network drop monitor
Hi Neal,
i tried the dropwatch app from your git.
Compiling the source produces:
hartko@...gwolkf320:~/dropwatch/src$ make
gcc -c -g main.c
gcc -c -g lookup.c
gcc -c -g lookup_bfd.c
gcc -c -g lookup_kas.c
lookup_kas.c: In function lookup_kas_cache:
lookup_kas.c:56: warning: cast from pointer to integer of different size
lookup_kas.c: In function lookup_kas_proc:
lookup_kas.c:100: warning: cast from pointer to integer of different size
lookup_kas.c:103: warning: cast from pointer to integer of different size
gcc -g -o dropwatch main.o lookup.o lookup_bfd.o lookup_kas.o -lbfd -lreadline -lnl
You cast a 'pc' variable to __u64 - is your code depending on 64 bit ??
Starting the stuff brings:
vwagwolkf320:/home/hartko/dropwatch/src# ./dropwatch
Initalizing kallsyms db
dropwatch> start
Enabling monitoring...
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Failed activation request, error: Operation now in progress
Shutting down ...
vwagwolkf320:/home/hartko/dropwatch/src#
And in my kernel log i get at the same time:
[ 7070.568482] netlink: 60 bytes leftover after parsing attributes.
Any ideas?
Oliver
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists