Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Linux/tools/perf/util/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 835 B image not shown  

Quelle  tracepoint.h   Sprache: C

 
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PERF_TRACEPOINT_H
#define __PERF_TRACEPOINT_H

#include <dirent.h>
#include <string.h>
#include <stdbool.h>

int tp_event_has_id(const char *dir_path, struct dirent *evt_dir);

#define for_each_event(dir_path, evt_dir, evt_dirent)  \
 while ((evt_dirent = readdir(evt_dir)) != NULL)  \
  if (evt_dirent->d_type == DT_DIR &&  \
      (strcmp(evt_dirent->d_name, ".")) && \
      (strcmp(evt_dirent->d_name, "..")) && \
      (!tp_event_has_id(dir_path, evt_dirent)))

#define for_each_subsystem(sys_dir, sys_dirent)   \
 while ((sys_dirent = readdir(sys_dir)) != NULL)  \
  if (sys_dirent->d_type == DT_DIR &&  \
      (strcmp(sys_dirent->d_name, ".")) && \
      (strcmp(sys_dirent->d_name, "..")))

bool is_valid_tracepoint(const char *event_string);

#endif /* __PERF_TRACEPOINT_H */

Messung V0.5
C=96 H=96 G=95

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© 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.