summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ea6763)
raw | patch | inline | side by side (parent: 3ea6763)
author | Dylan Reid <dgreid@chromium.org> | |
Tue, 3 Mar 2015 01:09:07 +0000 (17:09 -0800) | ||
committer | Dylan Reid <dgreid@google.com> | |
Tue, 3 Mar 2015 19:19:17 +0000 (11:19 -0800) |
Move the tracepoint creation to core from card, as core shouldn't depend
on card.
Also add EXPORT_SYMBOL_GPL calls to enable module build.
Change-Id: Ie39fcdadc0516df99600d0963efe09b6cd7a9bf8
Signed-off-by: Dylan Reid <dgreid@chromium.org>
on card.
Also add EXPORT_SYMBOL_GPL calls to enable module build.
Change-Id: Ie39fcdadc0516df99600d0963efe09b6cd7a9bf8
Signed-off-by: Dylan Reid <dgreid@chromium.org>
drivers/mmc/card/block.c | patch | blob | history | |
drivers/mmc/core/core.c | patch | blob | history |
index feb9bf5e4c17e9ef1a3daeb5d47a326dfd05103e..118db7ad69efbc409fa2c8aa217002f162728f62 100644 (file)
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
#include <linux/compat.h>
#include <linux/pm_runtime.h>
-#define CREATE_TRACE_POINTS
#include <trace/events/mmc.h>
#include <linux/mmc/ioctl.h>
index 7ee8abeea1277611bbfa9c7cd7a14efea37f1f2d..11655e90be538c5f13effee80656cf665fe9a571 100644 (file)
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
#include <linux/of.h>
#include <linux/wakelock.h>
+#define CREATE_TRACE_POINTS
#include <trace/events/mmc.h>
#include <linux/mmc/card.h>
#include "sd_ops.h"
#include "sdio_ops.h"
+EXPORT_TRACEPOINT_SYMBOL_GPL(mmc_blk_erase_start);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mmc_blk_erase_end);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mmc_blk_rw_start);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mmc_blk_rw_end);
+
/* If the device is not responding */
#define MMC_CORE_TIMEOUT_MS (10 * 60 * 1000) /* 10 minute timeout */