cregit-Linux how code gets into the kernel

Release 4.11 net/mac80211/trace.c

Directory: net/mac80211
/* bug in tracepoint.h, it should include this */
#include <linux/module.h>

/* sparse isn't too happy with all macros... */
#ifndef __CHECKER__
#include <net/cfg80211.h>
#include "driver-ops.h"
#include "debug.h"

#define CREATE_TRACE_POINTS
#include "trace.h"
#include "trace_msg.h"

#ifdef CONFIG_MAC80211_MESSAGE_TRACING

void __sdata_info(const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; pr_info("%pV", &vaf); trace_mac80211_info(&vaf); va_end(args); }

Contributors

PersonTokensPropCommitsCommitProp
Johannes Berg59100.00%1100.00%
Total59100.00%1100.00%


void __sdata_dbg(bool print, const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; if (print) pr_debug("%pV", &vaf); trace_mac80211_dbg(&vaf); va_end(args); }

Contributors

PersonTokensPropCommitsCommitProp
Johannes Berg66100.00%1100.00%
Total66100.00%1100.00%


void __sdata_err(const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; pr_err("%pV", &vaf); trace_mac80211_err(&vaf); va_end(args); }

Contributors

PersonTokensPropCommitsCommitProp
Johannes Berg59100.00%1100.00%
Total59100.00%1100.00%


void __wiphy_dbg(struct wiphy *wiphy, bool print, const char *fmt, ...) { struct va_format vaf = { .fmt = fmt, }; va_list args; va_start(args, fmt); vaf.va = &args; if (print) wiphy_dbg(wiphy, "%pV", &vaf); trace_mac80211_dbg(&vaf); va_end(args); }

Contributors

PersonTokensPropCommitsCommitProp
Johannes Berg73100.00%1100.00%
Total73100.00%1100.00%

#endif #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Johannes Berg28798.97%480.00%
Steven Rostedt31.03%120.00%
Total290100.00%5100.00%
Directory: net/mac80211
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.