diff options
author | Dan Williams <dcbw@redhat.com> | 2010-08-25 19:57:58 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-08-25 19:57:58 -0500 |
commit | ee53c3c3c43f8af867808b39dd0ae44215535748 (patch) | |
tree | 61c2439e02aeb0f759d92ed8ee9d48b53db7dc23 /libqcdm/src/dm-commands.h | |
parent | 319424ccb39680a8d67869cadd5d54cf96ed1d86 (diff) |
qcdm: add bits for getting/setting the log mask
No code to actually start logging yet, just sets the mask.
Diffstat (limited to 'libqcdm/src/dm-commands.h')
-rw-r--r-- | libqcdm/src/dm-commands.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libqcdm/src/dm-commands.h b/libqcdm/src/dm-commands.h index 30cf33db..8f995fef 100644 --- a/libqcdm/src/dm-commands.h +++ b/libqcdm/src/dm-commands.h @@ -368,6 +368,15 @@ struct DMCmdPilotSetsRsp { } __attribute__ ((packed)); typedef struct DMCmdPilotSetsRsp DMCmdPilotSetsRsp; +struct DMCmdExtLogMask { + guint8 code; + /* Bit number of highest '1' in 'mask'; set to 0 to get current mask. */ + guint16 len; + /* Bitfield of log messages to receive */ + guint8 mask[512]; +} __attribute__ ((packed)); +typedef struct DMCmdExtLogMask DMCmdExtLogMask; + /* DIAG_SUBSYS_NW_CONTROL_* subsys command */ struct DMCmdSubsysNwSnapshotReq { DMCmdSubsysHeader hdr; |