Expose name() of senders

Change-Id: Ia1e97cf5dc8f1e92728626b21fcf1b7f4da4e6b1
diff --git a/aos/ipc_lib/queue.h b/aos/ipc_lib/queue.h
index f21295f..6fef1d5 100644
--- a/aos/ipc_lib/queue.h
+++ b/aos/ipc_lib/queue.h
@@ -144,6 +144,9 @@
   // only 1 task is using this object (ie in tests).
   int FreeMessages() const;
 
+  // Returns the name of the queue.
+  const char *name() const { return name_; }
+
  private:
   struct MessageHeader;