Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  trace.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0
/* 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);
}

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);
}

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);
}

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);
}
#endif
#endif

Messung V0.5
C=97 H=100 G=98

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge