NewMadeleine

Documentation

nm_trace.h File Reference

Definitions for traces. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NM_TRACE_EVENT_CONNECT   ((nm_trace_event_t)0x0100)
 
#define NM_TRACE_EVENT_DISCONNECT   ((nm_trace_event_t)0x0101)
 
#define NM_TRACE_EVENT_VAR_N_PACKS   ((nm_trace_event_t)0x0200)
 current number of pending packs More...
 
#define NM_TRACE_EVENT_VAR_N_UNPACKS   ((nm_trace_event_t)0x0201)
 current number of pending unpacks More...
 
#define NM_TRACE_EVENT_CORE_PACK_SUBMIT   ((nm_trace_event_t)0x0211)
 pack submitted to nmad, still in submission list More...
 
#define NM_TRACE_EVENT_CORE_PACK_FLUSH   ((nm_trace_event_t)0x0212)
 pack flushed out of submission list More...
 
#define NM_TRACE_EVENT_CORE_PACK_RDV   ((nm_trace_event_t)0x0213)
 send rdv for this pack More...
 
#define NM_TRACE_EVENT_CORE_PACK_IN_PW   ((nm_trace_event_t)0x0214)
 first chunk of data packed in a pw, ready to send More...
 
#define NM_TRACE_EVENT_CORE_PACK_PW_POSTED   ((nm_trace_event_t)0x0215)
 pw containing first chunk of data has been posted More...
 
#define NM_TRACE_EVENT_CORE_PACK_COMPLETED   ((nm_trace_event_t)0x0216)
 
#define NM_TRACE_EVENT_CORE_UNPACK_SUBMIT   ((nm_trace_event_t)0x0221)
 
#define NM_TRACE_EVENT_CORE_UNPACK_RDV   ((nm_trace_event_t)0x0222)
 a rdv has been received for this unpack More...
 
#define NM_TRACE_EVENT_CORE_UNPACK_RTR   ((nm_trace_event_t)0x0223)
 a rtr has been sent for this unpack More...
 
#define NM_TRACE_EVENT_CORE_UNPACK_MATCH_FIRST   ((nm_trace_event_t)0x0224)
 first fragment matches More...
 
#define NM_TRACE_EVENT_CORE_UNPACK_MATCH_LAST   ((nm_trace_event_t)0x0225)
 last fragment matches More...
 
#define NM_TRACE_EVENT_CORE_UNPACK_COMPLETED   ((nm_trace_event_t)0x0226)
 
#define NM_TRACE_EVENT_PW_SEND_LARGE_PENDING   ((nm_trace_event_t)0x0401)
 large pw allocated, not ready to send yet More...
 
#define NM_TRACE_EVENT_PW_POST_SEND   ((nm_trace_event_t)0x0402)
 
#define NM_TRACE_EVENT_PW_POLL_SEND   ((nm_trace_event_t)0x0403)
 
#define NM_TRACE_EVENT_PW_COMPLETE_SEND   ((nm_trace_event_t)0x0404)
 
#define NM_TRACE_EVENT_PW_RECV_LARGE   ((nm_trace_event_t)0x0405)
 large pw allocated for recv, waiting for data More...
 
#define NM_TRACE_EVENT_PW_POST_RECV   ((nm_trace_event_t)0x0406)
 
#define NM_TRACE_EVENT_PW_POLL_RECV   ((nm_trace_event_t)0x0407)
 
#define NM_TRACE_EVENT_PW_COMPLETE_RECV   ((nm_trace_event_t)0x0408)
 
#define NM_TRACE_STATE_CORE_NONE   ((nm_trace_event_t)0x0800)
 
#define NM_TRACE_STATE_CORE_STRATEGY   ((nm_trace_event_t)0x0801)
 
#define NM_TRACE_STATE_CORE_POLLING   ((nm_trace_event_t)0x0802)
 
#define NM_TRACE_STATE_CORE_TASK_FLUSH   ((nm_trace_event_t)0x0803)
 
#define NM_TRACE_STATE_CORE_DISPATCHING   ((nm_trace_event_t)0x0804)
 
#define NM_TRACE_STATE_CORE_UNPACK_NEXT   ((nm_trace_event_t)0x0805)
 
#define NM_TRACE_STATE_CORE_COMPLETED_PW   ((nm_trace_event_t)0x0806)
 
#define NM_TRACE_STATE_CORE_PACK_SUBMIT   ((nm_trace_event_t)0x0807)
 
#define NM_TRACE_STATE_CORE_HANDLER   ((nm_trace_event_t)0x0808)
 
#define NM_TRACE_FILTER_GLOBAL   0x0100
 
#define NM_TRACE_FILTER_PACK   0x0200
 
#define NM_TRACE_FILTER_DRIVER   0x0400
 
#define NM_TRACE_FILTER_CORE   0x0800
 
#define NM_TRACE_FILTER_LINK   0x1000
 
#define NM_TRACE_FILTER_ALL   0xFF00
 
#define nm_trace_event(EVENT, VALUE, GATE, DRV, TAG, SEQ, LEN)
 
#define nm_trace_var(EVENT, VALUE, GATE, DRV)
 
#define nm_trace_state(EVENT, GATE, DRV)
 

Typedefs

typedef int nm_trace_event_t
 

Detailed Description

Definitions for traces.

Definition in file nm_trace.h.

Macro Definition Documentation

◆ nm_trace_event

#define nm_trace_event (   EVENT,
  VALUE,
  GATE,
  DRV,
  TAG,
  SEQ,
  LEN 
)

Definition at line 99 of file nm_trace.h.

◆ NM_TRACE_EVENT_CONNECT

#define NM_TRACE_EVENT_CONNECT   ((nm_trace_event_t)0x0100)

Definition at line 28 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_PACK_COMPLETED

#define NM_TRACE_EVENT_CORE_PACK_COMPLETED   ((nm_trace_event_t)0x0216)

Definition at line 43 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_PACK_FLUSH

#define NM_TRACE_EVENT_CORE_PACK_FLUSH   ((nm_trace_event_t)0x0212)

pack flushed out of submission list

Definition at line 39 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_PACK_IN_PW

#define NM_TRACE_EVENT_CORE_PACK_IN_PW   ((nm_trace_event_t)0x0214)

first chunk of data packed in a pw, ready to send

Definition at line 41 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_PACK_PW_POSTED

#define NM_TRACE_EVENT_CORE_PACK_PW_POSTED   ((nm_trace_event_t)0x0215)

pw containing first chunk of data has been posted

Definition at line 42 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_PACK_RDV

#define NM_TRACE_EVENT_CORE_PACK_RDV   ((nm_trace_event_t)0x0213)

send rdv for this pack

Definition at line 40 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_PACK_SUBMIT

#define NM_TRACE_EVENT_CORE_PACK_SUBMIT   ((nm_trace_event_t)0x0211)

pack submitted to nmad, still in submission list

Definition at line 38 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_UNPACK_COMPLETED

#define NM_TRACE_EVENT_CORE_UNPACK_COMPLETED   ((nm_trace_event_t)0x0226)

Definition at line 50 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_UNPACK_MATCH_FIRST

#define NM_TRACE_EVENT_CORE_UNPACK_MATCH_FIRST   ((nm_trace_event_t)0x0224)

first fragment matches

Definition at line 48 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_UNPACK_MATCH_LAST

#define NM_TRACE_EVENT_CORE_UNPACK_MATCH_LAST   ((nm_trace_event_t)0x0225)

last fragment matches

Definition at line 49 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_UNPACK_RDV

#define NM_TRACE_EVENT_CORE_UNPACK_RDV   ((nm_trace_event_t)0x0222)

a rdv has been received for this unpack

Definition at line 46 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_UNPACK_RTR

#define NM_TRACE_EVENT_CORE_UNPACK_RTR   ((nm_trace_event_t)0x0223)

a rtr has been sent for this unpack

Definition at line 47 of file nm_trace.h.

◆ NM_TRACE_EVENT_CORE_UNPACK_SUBMIT

#define NM_TRACE_EVENT_CORE_UNPACK_SUBMIT   ((nm_trace_event_t)0x0221)

Definition at line 45 of file nm_trace.h.

◆ NM_TRACE_EVENT_DISCONNECT

#define NM_TRACE_EVENT_DISCONNECT   ((nm_trace_event_t)0x0101)

Definition at line 29 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_COMPLETE_RECV

#define NM_TRACE_EVENT_PW_COMPLETE_RECV   ((nm_trace_event_t)0x0408)

Definition at line 61 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_COMPLETE_SEND

#define NM_TRACE_EVENT_PW_COMPLETE_SEND   ((nm_trace_event_t)0x0404)

Definition at line 57 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_POLL_RECV

#define NM_TRACE_EVENT_PW_POLL_RECV   ((nm_trace_event_t)0x0407)

Definition at line 60 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_POLL_SEND

#define NM_TRACE_EVENT_PW_POLL_SEND   ((nm_trace_event_t)0x0403)

Definition at line 56 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_POST_RECV

#define NM_TRACE_EVENT_PW_POST_RECV   ((nm_trace_event_t)0x0406)

Definition at line 59 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_POST_SEND

#define NM_TRACE_EVENT_PW_POST_SEND   ((nm_trace_event_t)0x0402)

Definition at line 55 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_RECV_LARGE

#define NM_TRACE_EVENT_PW_RECV_LARGE   ((nm_trace_event_t)0x0405)

large pw allocated for recv, waiting for data

Definition at line 58 of file nm_trace.h.

◆ NM_TRACE_EVENT_PW_SEND_LARGE_PENDING

#define NM_TRACE_EVENT_PW_SEND_LARGE_PENDING   ((nm_trace_event_t)0x0401)

large pw allocated, not ready to send yet

Definition at line 54 of file nm_trace.h.

◆ NM_TRACE_EVENT_VAR_N_PACKS

#define NM_TRACE_EVENT_VAR_N_PACKS   ((nm_trace_event_t)0x0200)

current number of pending packs

Definition at line 34 of file nm_trace.h.

◆ NM_TRACE_EVENT_VAR_N_UNPACKS

#define NM_TRACE_EVENT_VAR_N_UNPACKS   ((nm_trace_event_t)0x0201)

current number of pending unpacks

Definition at line 36 of file nm_trace.h.

◆ NM_TRACE_FILTER_ALL

#define NM_TRACE_FILTER_ALL   0xFF00

Definition at line 81 of file nm_trace.h.

◆ NM_TRACE_FILTER_CORE

#define NM_TRACE_FILTER_CORE   0x0800

Definition at line 79 of file nm_trace.h.

◆ NM_TRACE_FILTER_DRIVER

#define NM_TRACE_FILTER_DRIVER   0x0400

Definition at line 78 of file nm_trace.h.

◆ NM_TRACE_FILTER_GLOBAL

#define NM_TRACE_FILTER_GLOBAL   0x0100

Definition at line 76 of file nm_trace.h.

◆ NM_TRACE_FILTER_LINK

#define NM_TRACE_FILTER_LINK   0x1000

Definition at line 80 of file nm_trace.h.

◆ NM_TRACE_FILTER_PACK

#define NM_TRACE_FILTER_PACK   0x0200

Definition at line 77 of file nm_trace.h.

◆ nm_trace_state

#define nm_trace_state (   EVENT,
  GATE,
  DRV 
)

Definition at line 101 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_COMPLETED_PW

#define NM_TRACE_STATE_CORE_COMPLETED_PW   ((nm_trace_event_t)0x0806)

Definition at line 70 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_DISPATCHING

#define NM_TRACE_STATE_CORE_DISPATCHING   ((nm_trace_event_t)0x0804)

Definition at line 68 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_HANDLER

#define NM_TRACE_STATE_CORE_HANDLER   ((nm_trace_event_t)0x0808)

Definition at line 72 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_NONE

#define NM_TRACE_STATE_CORE_NONE   ((nm_trace_event_t)0x0800)

Definition at line 64 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_PACK_SUBMIT

#define NM_TRACE_STATE_CORE_PACK_SUBMIT   ((nm_trace_event_t)0x0807)

Definition at line 71 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_POLLING

#define NM_TRACE_STATE_CORE_POLLING   ((nm_trace_event_t)0x0802)

Definition at line 66 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_STRATEGY

#define NM_TRACE_STATE_CORE_STRATEGY   ((nm_trace_event_t)0x0801)

Definition at line 65 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_TASK_FLUSH

#define NM_TRACE_STATE_CORE_TASK_FLUSH   ((nm_trace_event_t)0x0803)

Definition at line 67 of file nm_trace.h.

◆ NM_TRACE_STATE_CORE_UNPACK_NEXT

#define NM_TRACE_STATE_CORE_UNPACK_NEXT   ((nm_trace_event_t)0x0805)

Definition at line 69 of file nm_trace.h.

◆ nm_trace_var

#define nm_trace_var (   EVENT,
  VALUE,
  GATE,
  DRV 
)

Definition at line 100 of file nm_trace.h.

Typedef Documentation

◆ nm_trace_event_t

typedef int nm_trace_event_t

Definition at line 24 of file nm_trace.h.