All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/2] export trace.c helper functions to other modules
@ 2018-12-18  4:51 ` yupeng
  0 siblings, 0 replies; 26+ messages in thread
From: yupeng @ 2018-12-18  4:51 UTC (permalink / raw)
  To: linux-block, linux-kernel, linux-nvme, keith.busch, axboe, hch,
	sagi, jthumshirn

Export bellow three functions:
nvme_trace_parse_admin_cmd
nvme_trace_parse_nvm_cmd
nvme_trace_disk_name
Thus any other modules which depends on nvme-core could use the trace
events in trace.h

Signed-off-by: yupeng <yupeng0921@gmail.com>
---
 drivers/nvme/host/trace.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/nvme/host/trace.c b/drivers/nvme/host/trace.c
index 25b0e310f4a8..8ca7079ed2bc 100644
--- a/drivers/nvme/host/trace.c
+++ b/drivers/nvme/host/trace.c
@@ -113,6 +113,7 @@ const char *nvme_trace_parse_admin_cmd(struct trace_seq *p,
 		return nvme_trace_common(p, cdw10);
 	}
 }
+EXPORT_SYMBOL_GPL(nvme_trace_parse_admin_cmd);
 
 const char *nvme_trace_parse_nvm_cmd(struct trace_seq *p,
 				     u8 opcode, u8 *cdw10)
@@ -128,6 +129,7 @@ const char *nvme_trace_parse_nvm_cmd(struct trace_seq *p,
 		return nvme_trace_common(p, cdw10);
 	}
 }
+EXPORT_SYMBOL_GPL(nvme_trace_parse_nvm_cmd);
 
 const char *nvme_trace_disk_name(struct trace_seq *p, char *name)
 {
@@ -139,3 +141,4 @@ const char *nvme_trace_disk_name(struct trace_seq *p, char *name)
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(nvme_trace_disk_name);
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2018-12-19  7:36 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-18  4:51 [PATCH v4 1/2] export trace.c helper functions to other modules yupeng
2018-12-18  4:51 ` yupeng
2018-12-18  4:51 ` [PATCH v4 2/2] trace nvme submit queue status yupeng
2018-12-18  4:51   ` yupeng
2018-12-18  7:26   ` Sagi Grimberg
2018-12-18  7:26     ` Sagi Grimberg
2018-12-18  7:44     ` peng yu
2018-12-18  7:44       ` peng yu
2018-12-18 17:03       ` Christoph Hellwig
2018-12-18 17:03         ` Christoph Hellwig
2018-12-18 17:26   ` Keith Busch
2018-12-18 17:26     ` Keith Busch
2018-12-18 17:47     ` hch
2018-12-18 17:47       ` hch
2018-12-18 18:03       ` Keith Busch
2018-12-18 18:03         ` Keith Busch
2018-12-19  1:19       ` peng yu
2018-12-19  1:19         ` peng yu
2018-12-19  7:36         ` hch
2018-12-19  7:36           ` hch
2018-12-18  7:26 ` [PATCH v4 1/2] export trace.c helper functions to other modules Sagi Grimberg
2018-12-18  7:26   ` Sagi Grimberg
2018-12-18 16:57 ` Christoph Hellwig
2018-12-18 16:57   ` Christoph Hellwig
2018-12-18 16:58   ` Christoph Hellwig
2018-12-18 16:58     ` Christoph Hellwig

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.