MESSAGE
DATE | 2022-04-24 |
FROM | Kwanghoon Son
|
SUBJECT | Re: [Hangout - NYLXS] Linux kernel environment setup in VSCode
|
From hangout-bounces-at-nylxs.com Tue May 3 09:41:43 2022 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 8983416401E; Tue, 3 May 2022 09:41:42 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id E0E28164011; Tue, 3 May 2022 09:41:23 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Tue, 3 May 2022 09:41:23 -0400 Resent-Message-ID: <20220503134123.GB4064-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mrbrklyn.com (Postfix) with ESMTPS id 5844316400B for ; Sat, 30 Apr 2022 20:53:49 -0400 (EDT) Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nkxq6-0004Sm-M0; Sat, 30 Apr 2022 20:53:30 -0400 Received: from mailout4.samsung.com ([203.254.224.34]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nineJ-0007Nv-Pf for kernelnewbies-at-kernelnewbies.org; Sun, 24 Apr 2022 21:36:24 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220425013615epoutp04c8cb6d3d2ea0150d23685a56b0603859~o-9orUm5S2073420734epoutp04F for ; Mon, 25 Apr 2022 01:36:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220425013615epoutp04c8cb6d3d2ea0150d23685a56b0603859~o-9orUm5S2073420734epoutp04F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1650850575; bh=dI67fnBbtTjHDlQfLGZe7jkoQbbUpHWbC1zsru9/Iao=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Z1HsDvd4mby76HEA6ANvNCtfJhKltsBynG++LBwi1CBLMjcIvwRGuzvhXrv9N0zRq 1JgybnjUUWX7GmddwoHcjEJq8G0UvRBaVZr5F8scY47UO1JIQcxPphO5HHUhAV9Hh9 u9toOyI9a43PiUgX4MNysQxlZQT2faX1MhsdGGMI= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20220425013615epcas1p16bef2f8c2bc247fea4e7ba220e04dac4~o-9oVVoRj2113821138epcas1p1X; Mon, 25 Apr 2022 01:36:15 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.36.144]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4KmnfQ4GN2z4x9Px; Mon, 25 Apr 2022 01:36:14 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 93.8C.09935.B0BF5626; Mon, 25 Apr 2022 10:36:11 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20220425013611epcas1p429b2ec55ce20472304e4ce28b32e4381~o-9kmRa291159911599epcas1p4g; Mon, 25 Apr 2022 01:36:11 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220425013611epsmtrp13f25b9a04a548790cdcf22fa622d7c6a~o-9klkpva3042030420epsmtrp1T; Mon, 25 Apr 2022 01:36:11 +0000 (GMT) X-AuditID: b6c32a39-75edfa80000026cf-97-6265fb0bb46e Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 18.32.08853.B0BF5626; Mon, 25 Apr 2022 10:36:11 +0900 (KST) Received: from kwang-host (unknown [10.113.111.36]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220425013611epsmtip2e036f271b474ab60f5dae3b896d7d96a~o-9kLxcTk1558215582epsmtip2O; Mon, 25 Apr 2022 01:36:11 +0000 (GMT) Date: Mon, 25 Apr 2022 10:36:10 +0900 From: Kwanghoon Son To: Jasper Surmont Message-ID: <20220425013610.GA18461-at-kwang-host> MIME-Version: 1.0 In-Reply-To: <5cc55f35-7513-731d-6e6f-dd6cbf0d6765-at-gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHKsWRmVeSWpSXmKPExsWy7bCmgS7379Qkg/OHjC0mHnjIbjF11XZW ByaPnbPusnss+pUYwBSVbZORmpiSWqSQmpecn5KZl26r5B0c7xxvamZgqGtoaWGupJCXmJtq q+TiE6DrlpkDNF5JoSwxpxQoFJBYXKykb2dTlF9akqqQkV9cYquUWpCSU2BaoFecmFtcmpeu l5daYmVoYGBkClSYkJ3RvOAfW8FjnoqrE0+xNjA+4Opi5OSQEDCRuNnSxdLFyMUhJLCDUWL5 kyZ2COcTo8TcBRdYIZxvjBJLrrSzdTFygLVcvOwNEd/LKLH64wc2COcFo8TkR2uYQOayCKhK NO45wApiswmoSyxpW8sOYosI6EhMvHaRGcRmFlCWuHzvP1hcWMBUYu7jrYwgNq+AvsSec2ug bEGJkzOfsIDYnAK2Em8uLmEBOUJUQEXi8wIBkL0SAofYJb5smc8K8Y+LxPcjfYwQtrDEq+Nb 2CFsKYmX/W1QdrbE0Y972SDsEonrsxZB9RpL7F86mQnitn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0LGJlXMUqmFhTnpucWGxYY5qWW6xUn5haX5qXrJefnbmIEh6qW5g7G7as+6B1i ZOJgPMQowcGsJML7ujc5SYg3JbGyKrUoP76oNCe1+BCjNAeLkjjvha6T8UIC6YklqdmpqQWp RTBZJg5OqQambdM2hwun+7mz8nX8Znt9rahx5dOW1GOHjbdHdl7W9JVlmM/84lJjtmTevjcS qQW7/TtzZnC7hFwsToqsCnM+tY7PkLGS+4qJ/JOjDTxsbqeK/dYzOO+Z/mZ1UuCjIFN19kc3 HdVD5ZeUCj6sO1ct8Mbg1u+1Ge8uSRcaCjYUnLLvif3ZM+PZhgUtb54sNrpfnBz2/rHYlI/5 re8yJR3/KZ0N/xf3T2qHYVbQsUiJxJdb594LXyGz8Und/01BP08717ox9tdmvpszIzBrRo/q V79p1qE/j8bKduSVLVBMmt71sW55+fQe4xtrjjXuy7S1Cte7qLloqukfYz7Z5ueXw8IO9N0+ t4St3STdWk2JpTgj0VCLuag4EQBJpwdhxAIAAA== X-CMS-MailID: 20220425013611epcas1p429b2ec55ce20472304e4ce28b32e4381 X-Msg-Generator: CA Content-Type: multipart/mixed; boundary="----x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220425013611epcas1p429b2ec55ce20472304e4ce28b32e4381 References: <5cc55f35-7513-731d-6e6f-dd6cbf0d6765-at-gmail.com> X-Mailman-Approved-At: Sat, 30 Apr 2022 20:53:22 -0400 Cc: kernelnewbies-at-kernelnewbies.org X-BeenThere: kernelnewbies-at-kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list Subject: Re: [Hangout - NYLXS] Linux kernel environment setup in VSCode X-BeenThere: hangout-at-nylxs.com List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline
On Mon, Apr 04, 2022 at 09:31:46PM +0300, Jasper Surmont wrote: > Hey, > > I'm new to the Linux kernel development, and I wanted to set up a VSCode > environment for navigating the code (I know, even though people tell me Vim > is better but currently I'm really not comfortable with it yet). > My main goal is just navigating and understanding. I've been able to make a > lot work, and using the C/C++ extension from Microsoft I have good > IntelliSense. > > However, some things are getting flagged by the extension as errors (which > of course shouldn't, since I've been able to compile the kernel). > These are things like: identifiers being undefined (for example, in > kernel/sched/cpudeadline.c u64 is undefined) and errors like: function > returning array is not allowed (for example, in drivers/md/dm-zero.c on the > bottom). vscode use clang and needs clangd. you can generate from ./scripts/clang-tools/gen_compile_commands.py which makes you navigate source code! > I'm wondering if I'm forgetting things such that all these things get > resolved. Any tips are appreciated. > > > Thanks! > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies-at-kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="utf-8"
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Kernelnewbies mailing list Kernelnewbies-at-kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_--
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline
On Mon, Apr 04, 2022 at 09:31:46PM +0300, Jasper Surmont wrote: > Hey, > > I'm new to the Linux kernel development, and I wanted to set up a VSCode > environment for navigating the code (I know, even though people tell me Vim > is better but currently I'm really not comfortable with it yet). > My main goal is just navigating and understanding. I've been able to make a > lot work, and using the C/C++ extension from Microsoft I have good > IntelliSense. > > However, some things are getting flagged by the extension as errors (which > of course shouldn't, since I've been able to compile the kernel). > These are things like: identifiers being undefined (for example, in > kernel/sched/cpudeadline.c u64 is undefined) and errors like: function > returning array is not allowed (for example, in drivers/md/dm-zero.c on the > bottom). vscode use clang and needs clangd. you can generate from ./scripts/clang-tools/gen_compile_commands.py which makes you navigate source code! > I'm wondering if I'm forgetting things such that all these things get > resolved. Any tips are appreciated. > > > Thanks! > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies-at-kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="utf-8"
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Kernelnewbies mailing list Kernelnewbies-at-kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline
_______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
------x8Z0KpQDuGWPqWIDnVvnG6SbV-Bc5F0EPZEymt8S62EzYm9k=_7d1f_--
|
|