All of lore.kernel.org
 help / color / mirror / Atom feed
* Modifying netback.c to produce logs
@ 2016-10-18 15:58 #PATHANGI JANARDHANAN JATINSHRAVAN#
  2016-10-18 16:06 ` Wei Liu
  0 siblings, 1 reply; 3+ messages in thread
From: #PATHANGI JANARDHANAN JATINSHRAVAN# @ 2016-10-18 15:58 UTC (permalink / raw)
  To: Xen-devel List


[-- Attachment #1.1: Type: text/plain, Size: 1088 bytes --]

Hi,

I've been playing around with the netback.c file in order to produce some log statements with dimes to better understand when each function in the file is called and I was having some trouble actually getting them to show up. I've written log statements in the following functions using the printk function at the beginning of each function below:

1.xenvif_rx_meta *get_next_rx_buffer()

2.void xenvif_rx_action()

3.int xenvif_tx_submit()

4.void xenvif_wait_for_rx_work()

5.int xenvif_kthread_guest_rx()

The I've not actually been able to see the log statements using dmesg at all. I've inserted the en_netback module in the kernel and checked that it is being used by the VM with the command lsmod | grep xen_netback.

I've booted up my virtual machine, and run a simple client server socket program in localhost within the VM and still not seen a single log message from the netback.c file being printed.

Can someone please advise me on where I can possibly insert log statements or how I can use the VM to invoke the netback.c functions?

Thanks,

Jati

[-- Attachment #1.2: Type: text/html, Size: 3786 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Modifying netback.c to produce logs
@ 2016-10-18 15:28 #PATHANGI JANARDHANAN JATINSHRAVAN#
  0 siblings, 0 replies; 3+ messages in thread
From: #PATHANGI JANARDHANAN JATINSHRAVAN# @ 2016-10-18 15:28 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --]

Hi,
I’ve been playing around with the netback.c file in order to produce some log statements with dimes to better understand when each function in the file is called and I was having some trouble actually getting them to show up. I’ve written log statements in the following functions using the printk function at the beginning of each function below:


1.xenvif_rx_meta *get_next_rx_buffer()

2.void xenvif_rx_action()

3.int xenvif_tx_submit()

4.void xenvif_wait_for_rx_work()

5.int xenvif_kthread_guest_rx()


The I’ve not actually been able to see the log statements using dmesg at all. I’ve inserted the en_netback module in the kernel and checked that it is being used by the VM with the command lsmod | grep xen_netback.


I’ve booted up my virtual machine, and run a simple client server socket program in localhost within the VM and still not seen a single log message from the netback.c file being printed.


Can someone please advise me on where I can possibly insert log statements or how I can use the VM to invoke the netback.c functions?


Thanks,

Jatin

[-- Attachment #1.2: Type: text/html, Size: 3211 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-18 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18 15:58 Modifying netback.c to produce logs #PATHANGI JANARDHANAN JATINSHRAVAN#
2016-10-18 16:06 ` Wei Liu
  -- strict thread matches above, loose matches on Subject: below --
2016-10-18 15:28 #PATHANGI JANARDHANAN JATINSHRAVAN#

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.