Re: [PATCH v7 7/9] snic:Add sysfs entries to list stats and trace data

2015-06-14 Thread Narsimhulu Musini (nmusini)
Hi James, Thanks for fixing the errors. the check patch that I used didnĀ¹t list them as error, probably a lower version. Thank you very much for mentoring. Thanks Narsimhulu On 13/06/15 9:47 pm, James Bottomley james.bottom...@hansenpartnership.com wrote: On Fri, 2015-05-29 at 01:04

Re: [PATCH v7 7/9] snic:Add sysfs entries to list stats and trace data

2015-06-13 Thread James Bottomley
On Fri, 2015-05-29 at 01:04 -0700, Narsimhulu Musini wrote: +static const struct file_operations snic_stats_fops __read_mostly = { + .owner = THIS_MODULE, + .open = snic_stats_open, + .read = seq_read, + .llseek = seq_lseek, + .release = single_release, +};

[PATCH v7 7/9] snic:Add sysfs entries to list stats and trace data

2015-05-29 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini nmus...@cisco.com Signed-off-by:

Re: [PATCH v7 7/9] snic:Add sysfs entries to list stats and trace data

2015-05-29 Thread Hannes Reinecke
On 05/29/2015 10:04 AM, Narsimhulu Musini wrote: snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data.