Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250142

Re: [PATCH 2/3] tracing: Make tracing work when debugfs is not compiled or initialized.

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] tracing: Make tracing work when debugfs is not compiled or initialized.
Date 2015-10-18 16:40 +0200
Message-ID <qkXhT-809-7@gated-at.bofh.it> (permalink)
References <qkUWK-4JV-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Jiaxing,

[auto build test ERROR on tip/perf/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Jiaxing-Wang/Some-tracing-fixes/20151018-200252
config: arm-omap2plus_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   kernel/trace/trace.c: In function 'tracing_init_dentry':
>> kernel/trace/trace.c:6737:3: error: implicit declaration of function 'debugfs_create_automount' [-Werror=implicit-function-declaration]
      traced = debugfs_create_automount("tracing", NULL,
      ^
>> kernel/trace/trace.c:6737:10: warning: assignment makes pointer from integer without a cast
      traced = debugfs_create_automount("tracing", NULL,
             ^
   cc1: some warnings being treated as errors

vim +/debugfs_create_automount +6737 kernel/trace/trace.c

  6731			/*
  6732			 * As there may still be users that expect the tracing
  6733			 * files to exist in debugfs/tracing, we must automount
  6734			 * the tracefs file system there, so older tools still
  6735			 * work with the newer kerenl.
  6736			 */
> 6737			traced = debugfs_create_automount("tracing", NULL,
  6738							   trace_automount, NULL);
  6739			if (!traced)
  6740				pr_warn_once("Could not create debugfs directory 'tracing'\n");

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] Some tracing fixes. Jiaxing Wang <hello.wjx@gmail.com> - 2015-10-18 14:10 +0200
  [PATCH 1/3] tracing: Update instance_rmdir() to use tracefs_remove_recursive. Jiaxing Wang <hello.wjx@gmail.com> - 2015-10-18 14:10 +0200
  [PATCH 2/3] tracing: Make tracing work when debugfs is not compiled or initialized. Jiaxing Wang <hello.wjx@gmail.com> - 2015-10-18 14:10 +0200
    Re: [PATCH 2/3] tracing: Make tracing work when debugfs is not  compiled or initialized. kbuild test robot <lkp@intel.com> - 2015-10-18 16:40 +0200
    Re: [PATCH 2/3] tracing: Make tracing work when debugfs is not  compiled or initialized. Jiaxing Wang <hello.wjx@gmail.com> - 2015-10-19 04:00 +0200
  [PATCH 3/3] tracing: Apply tracer specific options from kernel command line. Jiaxing Wang <hello.wjx@gmail.com> - 2015-10-18 14:10 +0200

csiph-web