From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 6C9834C8E for ; Mon, 11 Mar 2019 19:21:32 +0100 (CET) Received: by mail-pg1-f196.google.com with SMTP id a22so4645463pgg.13 for ; Mon, 11 Mar 2019 11:21:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d/NBss4ODVhBf08Qpee/Sf6kf9jz5Gzmhzj8LP+u1jU=; b=AR0W6TNuJAPKP++k5uAV2iJXJKeWeGb5wmN8n41ks4vqC7GRwZYJ4oM45bcZUMrHT0 BgL2xtZI/JXPvSK7ntxsPMfUQQnX4BvNy8trAYVpvZKI0neJCs/kBxKcw+PSz1Vdz55A W3OEIwiq/wy6JdtaevqCLK2pg63IiZHwRi6D3EOEy5JH7MI2L0z5nIxpmfyqaawG8Uf8 YuvonmU5Gyi1BZJ+CGSkETK2mJVrHN2mf5p4/BGgdUPEgX0IgShtqZEFYYnnLOl65+4r 2ekpZKaUsrY+GDAgmwqeuH9cMySZTsUuJUBponGXkN2idjh3LsiFOheo9cy4MEIebWlb 9AGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d/NBss4ODVhBf08Qpee/Sf6kf9jz5Gzmhzj8LP+u1jU=; b=haiPTz1omiu+AeV/SbswAzNGe4a3OaydELgTIv18MvwgsWVPd3uWQYrG9MW1RbZbwn 5sWo6YhP7GYdKtHaEjePF9sCRQbhpvaTeK/1m1KH38qIjc66KzzP2vt4vl/mivIkF0sw QrLSygPK4ETCM7Rk0hgO66dXrWO/Ns0mbmInXXkJ1MM+or//f/8tSeTnvFBIHeLvrF6Z k6eWmOVMjdGKNqYfPXoYqquGjVuLs7uKfaC9FPaRcgojD4v/YIMxjrmCUYiaxrDoWl3S JG1NlyGZfsFgaIROQYQWZ2391UVMt6bE1G/pwhW+0b/iFg/z2V0zhiMM2lY4teD9t5VL JuNA== X-Gm-Message-State: APjAAAWojQa09ukszn1iEOaM0j+MUXAqwkBtF1E3tHXAPPNIbpAc113W IfZn9jJbCiKgQp+ApuvTrAUjDg== X-Google-Smtp-Source: APXvYqwrXS3ZbBtNx/haR1uT+PcUXROAQXgfl2dT1cHROt1JvkKn/3XmuMV2mfAk2W881nAcqnoepg== X-Received: by 2002:a65:614a:: with SMTP id o10mr31077613pgv.51.1552328491599; Mon, 11 Mar 2019 11:21:31 -0700 (PDT) Received: from shemminger-XPS-13-9360 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id i13sm15571574pgo.63.2019.03.11.11.21.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Mar 2019 11:21:31 -0700 (PDT) Date: Mon, 11 Mar 2019 11:21:29 -0700 From: Stephen Hemminger To: Natanael Copa Cc: dev@dpdk.org Message-ID: <20190311112129.068377a0@shemminger-XPS-13-9360> In-Reply-To: <20190311173702.24471-16-ncopa@alpinelinux.org> References: <20190311173702.24471-1-ncopa@alpinelinux.org> <20190311173702.24471-16-ncopa@alpinelinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 15/15] eal/linux: use gettid(2) for debug message in sigbus_handler X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2019 18:21:32 -0000 On Mon, 11 Mar 2019 18:37:02 +0100 Natanael Copa wrote: > +#if !defined(__GLIBC__) > +#include > +#define gettid() syscall(SYS_gettid) > +#endif > + I though glibc didn't want to expose thread id. Personally, I would just drop the thread from the log message since it is not that useful anyway.