From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by dpdk.org (Postfix) with ESMTP id BAFB87EB0 for ; Wed, 22 Apr 2015 23:05:52 +0200 (CEST) Received: by pdea3 with SMTP id a3so284815271pde.3 for ; Wed, 22 Apr 2015 14:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ktMldtc4HcbMUdwurCx8XYZYuPAR+Xis3/omWH+HqCM=; b=w4/TpO8101BtU16SQ3Kd5ZGFUdqRozLmKnb+Zg8DU1tccNYPQZ+wi5dTMuMXsAS3nO P70rtkTFGMzm7R7mF1bxhlu/yP8CKzPpjH0rn7W6FYSxEltyEotrbh6xW7DcGQ9LvcDA rf9akj4kNXMPVpBjAVgyubgXf3HBueXOyI/xEsQxHL+mlioBtj9LMfZEb8uFGW2PVbfF dhP5hXrBq0+HiHs8woM/fFPSD/BxsrgyVbvgv+/mJarO7nDWoeySEdl3CFWPqMUii6uJ pEBpyABtC81we0r4T+vTq9KEy7JbSnwe92RVNXYgNYwqvw3bmKte51S063Uh591NSrkX kpLQ== X-Received: by 10.68.57.143 with SMTP id i15mr51171791pbq.9.1429736751974; Wed, 22 Apr 2015 14:05:51 -0700 (PDT) Received: from user-PC.hsd1.ca.comcast.net (c-98-234-176-9.hsd1.ca.comcast.net. [98.234.176.9]) by mx.google.com with ESMTPSA id ef15sm6032789pad.38.2015.04.22.14.05.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Apr 2015 14:05:51 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Wed, 22 Apr 2015 14:05:48 -0700 Message-Id: <1429736748-16874-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH] Use pthread_setname APIs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2015 21:05:53 -0000 Add code to set names to threads via pthread APIs. In Linux corresponding _getname_ is available, however, FreeBSD doesn't have corresponding _get_name API available yet. Hence _getname_ is not yet used in the code. Ravi Kerur (1): Use pthread_setname apis config/common_bsdapp | 5 +++++ config/common_linuxapp | 5 +++++ examples/vhost/Makefile | 1 + examples/vhost/main.c | 18 ++++++++++++++++-- examples/vhost_xen/Makefile | 1 + examples/vhost_xen/main.c | 20 ++++++++++++++++++-- lib/librte_eal/bsdapp/eal/eal.c | 7 +++++++ lib/librte_eal/linuxapp/eal/Makefile | 2 ++ lib/librte_eal/linuxapp/eal/eal.c | 11 +++++++++++ lib/librte_eal/linuxapp/eal/eal_interrupts.c | 20 +++++++++++++++++--- lib/librte_eal/linuxapp/eal/eal_pci_vfio_mp_sync.c | 16 ++++++++++++++-- lib/librte_eal/linuxapp/eal/eal_timer.c | 11 ++++++++++- 12 files changed, 107 insertions(+), 10 deletions(-) -- 1.9.1