forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac802154: add trace functionality for driver ops
This patch adds trace events for driver operations. Signed-off-by: Varka Bhadram <[email protected]> Acked-by: Alexander Aring <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
- Loading branch information
Showing
4 changed files
with
362 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
obj-$(CONFIG_MAC802154) += mac802154.o | ||
mac802154-objs := main.o rx.o tx.o mac_cmd.o mib.o \ | ||
iface.o llsec.o util.o cfg.o | ||
iface.o llsec.o util.o cfg.o trace.o | ||
|
||
CFLAGS_trace.o := -I$(src) | ||
|
||
ccflags-y += -D__CHECK_ENDIAN__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include <linux/module.h> | ||
|
||
#ifndef __CHECKER__ | ||
#include <net/cfg802154.h> | ||
#include "driver-ops.h" | ||
#define CREATE_TRACE_POINTS | ||
#include "trace.h" | ||
|
||
#endif |
Oops, something went wrong.