summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-08-26 16:32:37 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-26 16:32:37 -0700
commit31ffe249e5426d2648d68568fa00a7b66666a5db (patch)
tree286d67e6dafb2a2df088df8f05d8f11781344a75 /kernel/trace/trace.h
parentf656f39801b00c3c2aa26cefbdee2775d6706d45 (diff)
net: Temporarily backout SKB sources tracer.
Steven Rostedt has suggested that Neil work with the tracing folks, trying to use TRACE_EVENT as the mechanism for implementation. And if that doesn't workout we can investigate other solutions such as that one which was tried here. This reverts the following 2 commits: 5a165657bef7c47e5ff4cd138f7758ef6278e87b ("net: skb ftracer - Add config option to enable new ftracer (v3)") 9ec04da7489d2c9ae01ea6e9b5fa313ccf3d35fb ("net: skb ftracer - Add actual ftrace code to kernel (v3)") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 8a6281b2330..8b9f4f6e955 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -11,7 +11,6 @@
#include <trace/boot.h>
#include <linux/kmemtrace.h>
#include <trace/power.h>
-#include <trace/events/skb.h>
#include <linux/trace_seq.h>
#include <linux/ftrace_event.h>
@@ -41,7 +40,6 @@ enum trace_type {
TRACE_KMEM_FREE,
TRACE_POWER,
TRACE_BLK,
- TRACE_SKB_SOURCE,
__TRACE_LAST_TYPE,
};
@@ -173,21 +171,6 @@ struct trace_power {
struct power_trace state_data;
};
-struct skb_record {
- pid_t pid; /* pid of the copying process */
- int anid; /* node where skb was allocated */
- int cnid; /* node to which skb was copied in userspace */
- char ifname[IFNAMSIZ]; /* Name of the receiving interface */
- int rx_queue; /* The rx queue the skb was received on */
- int ccpu; /* Cpu the application got this frame from */
- int len; /* length of the data copied */
-};
-
-struct trace_skb_event {
- struct trace_entry ent;
- struct skb_record event_data;
-};
-
enum kmemtrace_type_id {
KMEMTRACE_TYPE_KMALLOC = 0, /* kmalloc() or kfree(). */
KMEMTRACE_TYPE_CACHE, /* kmem_cache_*(). */
@@ -340,8 +323,6 @@ extern void __ftrace_bad_type(void);
TRACE_SYSCALL_ENTER); \
IF_ASSIGN(var, ent, struct syscall_trace_exit, \
TRACE_SYSCALL_EXIT); \
- IF_ASSIGN(var, ent, struct trace_skb_event, \
- TRACE_SKB_SOURCE); \
__ftrace_bad_type(); \
} while (0)