From: Steven Rostedt <rostedt@goodmis.org>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Ingo Molnar <mingo@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Todd Poynor <toddpoynor@google.com>,
Ahbong Chang <cwahbong@google.com>
Subject: [PATCH 1/7] tracing: Add missing forward declaration
Date: Thu, 26 Apr 2018 13:30:40 -0400 [thread overview]
Message-ID: <20180426173201.618146136@goodmis.org> (raw)
In-Reply-To: 20180426173039.426131207@goodmis.org
[-- Attachment #1: 0001-tracing-Add-missing-forward-declaration.patch --]
[-- Type: text/plain, Size: 941 bytes --]
From: Ahbong Chang <cwahbong@google.com>
Without this forward declaration compile may fail if this header is
included only for registering other probe event without struct
pool_workqueue.
Link: http://lkml.kernel.org/r/20180416023626.139915-1-cwahbong@google.com
Reviewed-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Ahbong Chang <cwahbong@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
include/trace/events/workqueue.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/trace/events/workqueue.h b/include/trace/events/workqueue.h
index 2f057a494d93..9a761bc6a251 100644
--- a/include/trace/events/workqueue.h
+++ b/include/trace/events/workqueue.h
@@ -25,6 +25,8 @@ DECLARE_EVENT_CLASS(workqueue_work,
TP_printk("work struct %p", __entry->work)
);
+struct pool_workqueue;
+
/**
* workqueue_queue_work - called when a work gets queued
* @req_cpu: the requested cpu
--
2.16.3
next prev parent reply other threads:[~2018-04-26 17:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-26 17:30 [PATCH 0/7] [GIT PULL] tracing: Fixes for v4.17-rc1 Steven Rostedt
2018-04-26 17:30 ` Steven Rostedt [this message]
2018-04-26 17:30 ` [PATCH 2/7] tracing/x86: Update syscall trace events to handle new prefixed syscall func names Steven Rostedt
2018-04-26 17:30 ` [PATCH 3/7] tracing: Fix kernel crash while using empty filter with perf Steven Rostedt
2018-04-26 17:30 ` [PATCH 4/7] kprobes: Fix random address output of blacklist file Steven Rostedt
2018-04-26 17:30 ` [PATCH 5/7] selftests: ftrace: Fix trigger extended error testcase Steven Rostedt
2018-04-26 17:30 ` [PATCH 6/7] selftests: ftrace: Add a testcase for multiple actions on trigger Steven Rostedt
2018-04-26 17:30 ` [PATCH 7/7] tracing: Fix missing tab for hwlat_detector print format Steven Rostedt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180426173201.618146136@goodmis.org \
--to=rostedt@goodmis.org \
--cc=akpm@linux-foundation.org \
--cc=cwahbong@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=toddpoynor@google.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.