Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-x86
  • Repository

Switch branch/tag
  • ipipe-x86
  • kernel
  • trace
  • trace.h
Find file BlameHistoryPermalink
  • Mark Brown's avatar
    tracing: Fix build breakage without CONFIG_PERF_EVENTS · fa73dc94
    Mark Brown authored Feb 28, 2012
    Today's -next fails to build for me:
    
      CC      kernel/trace/trace_export.o
    In file included from kernel/trace/trace_export.c:197: kernel/trace/trace_entries.h:58: error: 'perf_ftrace_event_register' undeclared here (not in a function)
    make[2]: *** [kernel/trace/trace_export.o] Error 1
    make[1]: *** [kernel/trace] Error 2
    make: *** [kernel] Error 2
    
    because as of ced390 (ftrace, perf: Add support to use function
    tracepoint in perf) perf_trace_event_register() is declared in trace.h
    only if CONFIG_PERF_EVENTS is enabled but I don't have that set.
    
    Ensure that we always have a definition of perf_trace_event_register()
    by making the definition unconditional.
    
    Link: http://lkml.kernel.org/r/1330426967-17067-1-git-send-email-broonie@opensource.wolfsonmicro.com
    
    
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    fa73dc94

Replace trace.h

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy