mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Replace all occurrences of vdbg with vinfo
This commit is contained in:
@@ -322,7 +322,7 @@ static int procfs_open(FAR struct file *filep, FAR const char *relpath,
|
||||
{
|
||||
int x, ret = -ENOENT;
|
||||
|
||||
fvdbg("Open '%s'\n", relpath);
|
||||
finfo("Open '%s'\n", relpath);
|
||||
|
||||
/* Perform the stat based on the procfs_entry operations */
|
||||
|
||||
@@ -382,7 +382,7 @@ static ssize_t procfs_read(FAR struct file *filep, FAR char *buffer,
|
||||
FAR struct procfs_file_s *handler;
|
||||
ssize_t ret = 0;
|
||||
|
||||
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
|
||||
/* Recover our private data from the struct file instance */
|
||||
|
||||
@@ -406,7 +406,7 @@ static ssize_t procfs_write(FAR struct file *filep, FAR const char *buffer,
|
||||
FAR struct procfs_file_s *handler;
|
||||
ssize_t ret = 0;
|
||||
|
||||
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
|
||||
/* Recover our private data from the struct file instance */
|
||||
|
||||
@@ -429,7 +429,7 @@ static ssize_t procfs_write(FAR struct file *filep, FAR const char *buffer,
|
||||
|
||||
static int procfs_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
{
|
||||
fvdbg("cmd: %d arg: %08lx\n", cmd, arg);
|
||||
finfo("cmd: %d arg: %08lx\n", cmd, arg);
|
||||
|
||||
/* No IOCTL commands supported */
|
||||
|
||||
@@ -448,7 +448,7 @@ static int procfs_dup(FAR const struct file *oldp, FAR struct file *newp)
|
||||
{
|
||||
FAR struct procfs_file_s *oldattr;
|
||||
|
||||
fvdbg("Dup %p->%p\n", oldp, newp);
|
||||
finfo("Dup %p->%p\n", oldp, newp);
|
||||
|
||||
/* Recover our private data from the old struct file instance */
|
||||
|
||||
@@ -476,7 +476,7 @@ static int procfs_opendir(FAR struct inode *mountpt, FAR const char *relpath,
|
||||
FAR void *priv = NULL;
|
||||
irqstate_t flags;
|
||||
|
||||
fvdbg("relpath: \"%s\"\n", relpath ? relpath : "NULL");
|
||||
finfo("relpath: \"%s\"\n", relpath ? relpath : "NULL");
|
||||
DEBUGASSERT(mountpt && relpath && dir && !dir->u.procfs);
|
||||
|
||||
/* The relative must be either:
|
||||
@@ -717,7 +717,7 @@ static int procfs_readdir(struct inode *mountpt, struct fs_dirent_s *dir)
|
||||
* error -ENOENT
|
||||
*/
|
||||
|
||||
fvdbg("Entry %d: End of directory\n", index);
|
||||
finfo("Entry %d: End of directory\n", index);
|
||||
ret = -ENOENT;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -138,7 +138,7 @@ static int cpuload_open(FAR struct file *filep, FAR const char *relpath,
|
||||
{
|
||||
FAR struct cpuload_file_s *attr;
|
||||
|
||||
fvdbg("Open '%s'\n", relpath);
|
||||
finfo("Open '%s'\n", relpath);
|
||||
|
||||
/* PROCFS is read-only. Any attempt to open with any kind of write
|
||||
* access is not permitted.
|
||||
@@ -207,7 +207,7 @@ static ssize_t cpuload_read(FAR struct file *filep, FAR char *buffer,
|
||||
off_t offset;
|
||||
ssize_t ret;
|
||||
|
||||
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
|
||||
/* Recover our private data from the struct file instance */
|
||||
|
||||
@@ -288,7 +288,7 @@ static int cpuload_dup(FAR const struct file *oldp, FAR struct file *newp)
|
||||
FAR struct cpuload_file_s *oldattr;
|
||||
FAR struct cpuload_file_s *newattr;
|
||||
|
||||
fvdbg("Dup %p->%p\n", oldp, newp);
|
||||
finfo("Dup %p->%p\n", oldp, newp);
|
||||
|
||||
/* Recover our private data from the old struct file instance */
|
||||
|
||||
|
||||
@@ -137,7 +137,7 @@ static int kmm_open(FAR struct file *filep, FAR const char *relpath,
|
||||
{
|
||||
FAR struct kmm_file_s *procfile;
|
||||
|
||||
fvdbg("Open '%s'\n", relpath);
|
||||
finfo("Open '%s'\n", relpath);
|
||||
|
||||
/* PROCFS is read-only. Any attempt to open with any kind of write
|
||||
* access is not permitted.
|
||||
@@ -208,7 +208,7 @@ static ssize_t kmm_read(FAR struct file *filep, FAR char *buffer,
|
||||
size_t totalsize;
|
||||
off_t offset;
|
||||
|
||||
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
|
||||
DEBUGASSERT(filep != NULL && buffer != NULL && buflen > 0);
|
||||
offset = filep->f_pos;
|
||||
@@ -267,7 +267,7 @@ static int kmm_dup(FAR const struct file *oldp, FAR struct file *newp)
|
||||
FAR struct kmm_file_s *oldattr;
|
||||
FAR struct kmm_file_s *newattr;
|
||||
|
||||
fvdbg("Dup %p->%p\n", oldp, newp);
|
||||
finfo("Dup %p->%p\n", oldp, newp);
|
||||
|
||||
/* Recover our private data from the old struct file instance */
|
||||
|
||||
|
||||
@@ -1013,7 +1013,7 @@ static int proc_open(FAR struct file *filep, FAR const char *relpath,
|
||||
unsigned long tmp;
|
||||
pid_t pid;
|
||||
|
||||
fvdbg("Open '%s'\n", relpath);
|
||||
finfo("Open '%s'\n", relpath);
|
||||
|
||||
/* PROCFS is read-only. Any attempt to open with any kind of write
|
||||
* access is not permitted.
|
||||
@@ -1137,7 +1137,7 @@ static ssize_t proc_read(FAR struct file *filep, FAR char *buffer,
|
||||
irqstate_t flags;
|
||||
ssize_t ret;
|
||||
|
||||
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
|
||||
/* Recover our private data from the struct file instance */
|
||||
|
||||
@@ -1215,7 +1215,7 @@ static int proc_dup(FAR const struct file *oldp, FAR struct file *newp)
|
||||
FAR struct proc_file_s *oldfile;
|
||||
FAR struct proc_file_s *newfile;
|
||||
|
||||
fvdbg("Dup %p->%p\n", oldp, newp);
|
||||
finfo("Dup %p->%p\n", oldp, newp);
|
||||
|
||||
/* Recover our private data from the old struct file instance */
|
||||
|
||||
@@ -1259,7 +1259,7 @@ static int proc_opendir(FAR const char *relpath, FAR struct fs_dirent_s *dir)
|
||||
FAR char *ptr;
|
||||
pid_t pid;
|
||||
|
||||
fvdbg("relpath: \"%s\"\n", relpath ? relpath : "NULL");
|
||||
finfo("relpath: \"%s\"\n", relpath ? relpath : "NULL");
|
||||
DEBUGASSERT(relpath && dir && !dir->u.procfs);
|
||||
|
||||
/* The relative must be either:
|
||||
@@ -1415,7 +1415,7 @@ static int proc_readdir(struct fs_dirent_s *dir)
|
||||
* error -ENOENT
|
||||
*/
|
||||
|
||||
fvdbg("Entry %d: End of directory\n", index);
|
||||
finfo("Entry %d: End of directory\n", index);
|
||||
ret = -ENOENT;
|
||||
}
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ static int uptime_open(FAR struct file *filep, FAR const char *relpath,
|
||||
{
|
||||
FAR struct uptime_file_s *attr;
|
||||
|
||||
fvdbg("Open '%s'\n", relpath);
|
||||
finfo("Open '%s'\n", relpath);
|
||||
|
||||
/* PROCFS is read-only. Any attempt to open with any kind of write
|
||||
* access is not permitted.
|
||||
@@ -222,7 +222,7 @@ static ssize_t uptime_read(FAR struct file *filep, FAR char *buffer,
|
||||
unsigned int csec;
|
||||
#endif
|
||||
|
||||
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
|
||||
/* Recover our private data from the struct file instance */
|
||||
|
||||
@@ -301,7 +301,7 @@ static int uptime_dup(FAR const struct file *oldp, FAR struct file *newp)
|
||||
FAR struct uptime_file_s *oldattr;
|
||||
FAR struct uptime_file_s *newattr;
|
||||
|
||||
fvdbg("Dup %p->%p\n", oldp, newp);
|
||||
finfo("Dup %p->%p\n", oldp, newp);
|
||||
|
||||
/* Recover our private data from the old struct file instance */
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ static int skel_open(FAR struct file *filep, FAR const char *relpath,
|
||||
{
|
||||
FAR struct skel_file_s *priv;
|
||||
|
||||
fvdbg("Open '%s'\n", relpath);
|
||||
finfo("Open '%s'\n", relpath);
|
||||
|
||||
/* PROCFS is read-only. Any attempt to open with any kind of write
|
||||
* access is not permitted.
|
||||
@@ -228,7 +228,7 @@ static ssize_t skel_read(FAR struct file *filep, FAR char *buffer,
|
||||
FAR struct skel_file_s *priv;
|
||||
ssize_t ret;
|
||||
|
||||
fvdbg("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
finfo("buffer=%p buflen=%d\n", buffer, (int)buflen);
|
||||
|
||||
/* Recover our private data from the struct file instance */
|
||||
|
||||
@@ -262,7 +262,7 @@ static int skel_dup(FAR const struct file *oldp, FAR struct file *newp)
|
||||
FAR struct skel_file_s *oldpriv;
|
||||
FAR struct skel_file_s *newpriv;
|
||||
|
||||
fvdbg("Dup %p->%p\n", oldp, newp);
|
||||
finfo("Dup %p->%p\n", oldp, newp);
|
||||
|
||||
/* Recover our private data from the old struct file instance */
|
||||
|
||||
@@ -300,7 +300,7 @@ static int skel_opendir(FAR const char *relpath, FAR struct fs_dirent_s *dir)
|
||||
{
|
||||
FAR struct skel_level1_s *level1;
|
||||
|
||||
fvdbg("relpath: \"%s\"\n", relpath ? relpath : "NULL");
|
||||
finfo("relpath: \"%s\"\n", relpath ? relpath : "NULL");
|
||||
DEBUGASSERT(relpath && dir && !dir->u.procfs);
|
||||
|
||||
/* The path refers to the 1st level sbdirectory. Allocate the level1
|
||||
@@ -383,7 +383,7 @@ static int skel_readdir(FAR struct fs_dirent_s *dir)
|
||||
* error -ENOENT
|
||||
*/
|
||||
|
||||
fvdbg("Entry %d: End of directory\n", index);
|
||||
finfo("Entry %d: End of directory\n", index);
|
||||
ret = -ENOENT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user