From patchwork Mon Sep 30 17:22:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "John B. Wyatt IV" X-Patchwork-Id: 13816771 X-Patchwork-Delegate: shuah@kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A9F4194096 for ; Mon, 30 Sep 2024 17:24:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727717080; cv=none; b=MwjFyKVi99RESFX+Kio/94c6q3Kfu1mDjH02Ip4hgKhYkT8VP3EqLffz8jiQTvWogMXa+MIViLR+Lc25JK2llneRAFHOGvV3DlWaCj/WLMuFzxA7VKwGRpzsSZO6zyYp840LJF3kDjzxuNIVx3BMuVOL7IF5ZkzA55ne6FnxfDk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727717080; c=relaxed/simple; bh=BolYtsI0w27oJm0hSUK/ybbZTbg7JDNiF7yhR32OlO0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=imAcLO93VUnvztda44DPK/++zq2PzjZH/kHiaCM3FlHrPgAlsf5XTUtdjJqZN8Veaiuo76TenUOrSmBovY8q7FqOrJlIYsV4GPBx+NNIw81yeOG+0YFwmwduUUCpk3ZfF4gM48KAd5pdpH78I2YbEGHrGjSp11i9bt2CavfutEw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=hmtwNMOG; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hmtwNMOG" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1727717077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Tm9+U99BoHPZZgfkmyq7/8cg3UOwPJZ9OVw/oJ0v7VU=; b=hmtwNMOGzhXemHXggxlvjFU9tB8AM5+/iRmrZrEsPX4HJ3bk15Q37xZo8gukYZOGrSSBIF dZysH6JRYFuUGJUIRcfDyhGkjwExHXfxyGpWTzceoNzqzikXxHmUvuJ3XqSe+FbbNQO96a bvM7q4uoae4x1PrkruDD3J1CdkOqfwQ= Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-167-aJp3Lxu7PlSghH2XxNHs5w-1; Mon, 30 Sep 2024 13:24:35 -0400 X-MC-Unique: aJp3Lxu7PlSghH2XxNHs5w-1 Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-5e1c8fa5032so3631511eaf.1 for ; Mon, 30 Sep 2024 10:24:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727717075; x=1728321875; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Tm9+U99BoHPZZgfkmyq7/8cg3UOwPJZ9OVw/oJ0v7VU=; b=chgnyRGJrOeWDj+MhU6kP7iZawdxP0lxBR+kp6lJ3TGcxUGn/d6GG7FTRbikcTepf+ sy4TwWbchKF4My+5ElQwVJoyX1YDq7yO3ckszlTyUrYKDIXOHJNSWoxUQtGyhCqxBbP+ LJdILjY3sbJeNqQc19yP/GYSKD5hDepR1hITHsQz6OXJYzOgrjZHXdeVWOHptTHckAK9 nvmGk2uOXojgz+CYnDmkKspEDWfRTAXk8VmvfbC/DOrmykRd2LWjQ4o2FWcpwBn2ybtG hWPilVF3jqJNHxoJ3Ver98LoB7M4P+raXWhoYtAlY5hIkbtMnH+C4iF96XBGJno0ceQp WOHA== X-Forwarded-Encrypted: i=1; AJvYcCXB31vHRdzj3T78OtVs09lGjyRYCpHz6KHPVqA19+L2FfFOrw2/Cmdhuxm+3T02mqkWQs3JKzvVsQ==@vger.kernel.org X-Gm-Message-State: AOJu0YzJcVBx06SII6WttGo/RhUiOn4s23gmgg60yUWiezlChBtlpwxx a04lOqHyc0Zyyxl/eTeP5ISQ1dVs7wQ3J5IYIqaNPm0S6meH/cl5HvZfnTA4aUbOmHi73bKiBa9 cBIhiGDBGZxCwIwsEwwa8+G1hFDK7Kyc7dnxpp1zEOgwvNgBBws1JnL/O X-Received: by 2002:a05:6359:5f8f:b0:1ba:426f:f2c6 with SMTP id e5c5f4694b2df-1becbc9779dmr492828455d.13.1727717075075; Mon, 30 Sep 2024 10:24:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHxsS7haYLIHqPnAUcqGoVnp3ePyKSCRBSWq3cPAljqcqD8NotPXmxtODb0Y6K/EFfLbKhjkQ== X-Received: by 2002:a05:6359:5f8f:b0:1ba:426f:f2c6 with SMTP id e5c5f4694b2df-1becbc9779dmr492824955d.13.1727717074738; Mon, 30 Sep 2024 10:24:34 -0700 (PDT) Received: from rhfedora.redhat.com ([71.217.60.247]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7ae377bc91asm431522785a.25.2024.09.30.10.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 10:24:34 -0700 (PDT) From: "John B. Wyatt IV" To: Shuah Khan , Thomas Renninger Cc: "John B. Wyatt IV" , linux-pm@vger.kernel.org, Shuah Khan , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, John Kacur , "John B. Wyatt IV" Subject: [PATCH] pm: cpupower: gitignore: Add compile_commands.json Date: Mon, 30 Sep 2024 13:22:55 -0400 Message-ID: <20240930172330.7076-1-jwyatt@redhat.com> X-Mailer: git-send-email 2.46.2 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 A compile_commands.json file is used by the LSP in tools like VSCode and Neovim to look up function and type information. The file is specific to the state of the current system; add it to the gitignore. Note: the kernel root's gitignore has a similar entry: /compile_commands.json I am not sure why they use '/' for a file as it is used for directories. Signed-off-by: "John B. Wyatt IV" Signed-off-by: "John B. Wyatt IV" --- tools/power/cpupower/.gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/power/cpupower/.gitignore b/tools/power/cpupower/.gitignore index 7677329c42a6..5113d5a7aee0 100644 --- a/tools/power/cpupower/.gitignore +++ b/tools/power/cpupower/.gitignore @@ -27,3 +27,6 @@ debug/i386/intel_gsic debug/i386/powernow-k8-decode debug/x86_64/centrino-decode debug/x86_64/powernow-k8-decode + +# Clang's compilation database file +compile_commands.json