From patchwork Tue Sep 17 14:28:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 1163410 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Xlpp0fS1z9sP7; Wed, 18 Sep 2019 00:28:49 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1iAETD-00066f-A1; Tue, 17 Sep 2019 14:28:43 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iAETA-00066E-41 for kernel-team@lists.ubuntu.com; Tue, 17 Sep 2019 14:28:40 +0000 Received: from mail-wm1-f71.google.com ([209.85.128.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iAET9-0004qx-Su for kernel-team@lists.ubuntu.com; Tue, 17 Sep 2019 14:28:39 +0000 Received: by mail-wm1-f71.google.com with SMTP id k184so1338890wmk.1 for ; Tue, 17 Sep 2019 07:28:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vBmWWxkBfHUzeq4mIRHmsEUz82hNYSktuO71rxy6R/4=; b=gJLSosayioQEJkK9uVj7cYAv4nOhijMgGFSR43SLLIvnr1LCMXWQel3JdMQPr8+rFW S3DhFYOwJ6lYHRDoXx+LwXhQ+8kkAKFYg2IqtK9U4hhnxdD6t+ZOdt0sOLafxVnQzDgH +5W0V/t6idwNHUoTBQjLMKkA0OLim0aGcoBIUGklk4V7ChjzpqAWqu/gs3EsFG6HMsjx cTgBYv1tJhW3HsGpxr2Fk6MNcXyWsXsyTjFjaAb6n4zu5AvwSjw8nPIARlp2TP+ZdTtK F0KcdqUwbOTz2IU+s91NRAUHcOq/FyBNcN7mCajovJpajeQmkG/C5XUYZZ00EZP4TSZV x6+Q== X-Gm-Message-State: APjAAAWsESlRqJLEV6esM2T5UDb9NNA0wlxM08cfgdO3JQHO/Hy3qP80 rW2MFqg04Eh7DkqfwlUTzNhLM9Tx4zCHQWG6Ugo5F2LjOdzn493gDKethPw9HUMcPMbcAoAR6+P 3V9ThKoO3XelnYJHTeM5Vovm55IlJSpIi96KZYFku X-Received: by 2002:a1c:96cd:: with SMTP id y196mr3364375wmd.67.1568730519220; Tue, 17 Sep 2019 07:28:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKMXSfKATRctZayQGUfjb61M4BxJQVda1SE0axEXZN7bqw0qH45zm2VTUKyR04rrU2AiblRA== X-Received: by 2002:a1c:96cd:: with SMTP id y196mr3364345wmd.67.1568730518915; Tue, 17 Sep 2019 07:28:38 -0700 (PDT) Received: from localhost.localdomain (static-dcd-cqq-121001.business.bouyguestelecom.com. [212.194.121.1]) by smtp.gmail.com with ESMTPSA id r9sm3522411wra.19.2019.09.17.07.28.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Sep 2019 07:28:38 -0700 (PDT) From: Marcelo Henrique Cerri To: kernel-team@lists.ubuntu.com Subject: [bionic:linux-kvm][PATCH 1/1] UBUNTU: [Config] linux-kvm: CONFIG_FTRACE=y Date: Tue, 17 Sep 2019 11:28:33 -0300 Message-Id: <20190917142834.20266-2-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190917142834.20266-1-marcelo.cerri@canonical.com> References: <20190917142834.20266-1-marcelo.cerri@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1841956 We need to enable ftrace in order to support sysdig. Signed-off-by: Marcelo Henrique Cerri --- debian.kvm/config/config.common.ubuntu | 39 +++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu index 259c583b123e..abe543c357f9 100644 --- a/debian.kvm/config/config.common.ubuntu +++ b/debian.kvm/config/config.common.ubuntu @@ -204,7 +204,7 @@ CONFIG_BCMA_POSSIBLE=y CONFIG_BEFS_FS=m CONFIG_BFS_FS=m # CONFIG_BIG_KEYS is not set -# CONFIG_BINARY_PRINTF is not set +CONFIG_BINARY_PRINTF=y CONFIG_BINFMT_ELF=y # CONFIG_BINFMT_MISC is not set CONFIG_BINFMT_SCRIPT=y @@ -224,6 +224,7 @@ CONFIG_BLK_DEV_DM_BUILTIN=y # CONFIG_BLK_DEV_DRBD is not set CONFIG_BLK_DEV_INITRD=y # CONFIG_BLK_DEV_INTEGRITY is not set +# CONFIG_BLK_DEV_IO_TRACE is not set CONFIG_BLK_DEV_LOOP=m CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 CONFIG_BLK_DEV_MD=m @@ -257,10 +258,12 @@ CONFIG_BONDING=m # CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set # CONFIG_BOOT_PRINTK_DELAY is not set CONFIG_BPF=y +CONFIG_BPF_EVENTS=y # CONFIG_BPF_JIT is not set # CONFIG_BPF_STREAM_PARSER is not set CONFIG_BPF_SYSCALL=y CONFIG_BQL=y +CONFIG_BRANCH_PROFILE_NONE=y CONFIG_BRIDGE=y CONFIG_BRIDGE_IGMP_SNOOPING=y CONFIG_BRIDGE_NETFILTER=m @@ -360,6 +363,7 @@ CONFIG_COMPAT_OLD_SIGACTION=y CONFIG_CONFIGFS_FS=m CONFIG_CONNECTOR=y CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 +CONFIG_CONTEXT_SWITCH_TRACER=y # CONFIG_CORDIC is not set CONFIG_COREDUMP=y CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y @@ -570,6 +574,7 @@ CONFIG_DEBUG_KERNEL=y # CONFIG_DEBUG_NOTIFIERS is not set # CONFIG_DEBUG_OBJECTS is not set # CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_DEBUG_PAGE_REF is not set # CONFIG_DEBUG_PERF_USE_VMALLOC is not set # CONFIG_DEBUG_PER_CPU_MAPS is not set # CONFIG_DEBUG_PI_LIST is not set @@ -683,6 +688,7 @@ CONFIG_ELFCORE=y CONFIG_ELF_CORE=y CONFIG_EMBEDDED=y # CONFIG_EM_TIMER_STI is not set +# CONFIG_ENABLE_DEFAULT_TRACERS is not set # CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_ENABLE_WARN_DEPRECATED is not set # CONFIG_ENCLOSURE_SERVICES is not set @@ -691,6 +697,7 @@ CONFIG_EPOLL=y # CONFIG_EQUALIZER is not set # CONFIG_ETHERNET is not set CONFIG_EVENTFD=y +CONFIG_EVENT_TRACING=y # CONFIG_EVM is not set # CONFIG_EXOFS_DEBUG is not set CONFIG_EXOFS_FS=m @@ -748,8 +755,10 @@ CONFIG_FS_IOMAP=y CONFIG_FS_MBCACHE=y CONFIG_FS_POSIX_ACL=y # CONFIG_FTL is not set -# CONFIG_FTRACE is not set +CONFIG_FTRACE=y +# CONFIG_FTRACE_SYSCALLS is not set # CONFIG_FUJITSU_ES is not set +# CONFIG_FUNCTION_TRACER is not set CONFIG_FUSE_FS=m # CONFIG_FUSION is not set CONFIG_FUTEX=y @@ -974,6 +983,7 @@ CONFIG_HID_GENERIC=y CONFIG_HIGH_RES_TIMERS=y # CONFIG_HIO is not set # CONFIG_HIPPI is not set +# CONFIG_HIST_TRIGGERS is not set CONFIG_HOTPLUG_CPU=y CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_ACPI=y @@ -992,6 +1002,7 @@ CONFIG_HPFS_FS=m CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_HVC_DRIVER=y +# CONFIG_HWLAT_TRACER is not set # CONFIG_HWMON is not set # CONFIG_HWSPINLOCK is not set CONFIG_HW_RANDOM=y @@ -1197,6 +1208,7 @@ CONFIG_IP_SET_HASH_NETPORTNET=m CONFIG_IP_SET_LIST_SET=m CONFIG_IP_SET_MAX=256 # CONFIG_IP_VS is not set +# CONFIG_IRQSOFF_TRACER is not set CONFIG_IRQ_BYPASS_MANAGER=y CONFIG_IRQ_DOMAIN=y # CONFIG_IRQ_DOMAIN_DEBUG is not set @@ -1266,6 +1278,7 @@ CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y CONFIG_KVM_GUEST=y CONFIG_KVM_INTEL=m CONFIG_KVM_MMIO=y +# CONFIG_KVM_MMU_AUDIT is not set CONFIG_KVM_VFIO=y # CONFIG_L2TP is not set # CONFIG_LAPB is not set @@ -1362,6 +1375,7 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_MISC_RTSX_PCI is not set # CONFIG_MK8 is not set # CONFIG_MMC is not set +# CONFIG_MMIOTRACE is not set CONFIG_MMU=y CONFIG_MMU_NOTIFIER=y # CONFIG_MODIFY_LDT_SYSCALL is not set @@ -1553,6 +1567,7 @@ CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y CONFIG_NET_CORE=y # CONFIG_NET_DEVLINK is not set +# CONFIG_NET_DROP_MONITOR is not set # CONFIG_NET_DSA is not set # CONFIG_NET_FC is not set CONFIG_NET_FLOW_LIMIT=y @@ -1709,6 +1724,7 @@ CONFIG_NLS_MAC_TURKISH=m CONFIG_NLS_UTF8=m CONFIG_NODES_SHIFT=6 CONFIG_NODES_SPAN_OTHER_NODES=y +CONFIG_NOP_TRACER=y # CONFIG_NOTIFIER_ERROR_INJECTION is not set # CONFIG_NOZOMI is not set CONFIG_NO_BOOTMEM=y @@ -1887,6 +1903,7 @@ CONFIG_POWER_SUPPLY=y # CONFIG_PPP is not set # CONFIG_PPS is not set # CONFIG_PREEMPT is not set +# CONFIG_PREEMPTIRQ_EVENTS is not set # CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_NOTIFIERS=y CONFIG_PREEMPT_VOLUNTARY=y @@ -1896,6 +1913,7 @@ CONFIG_PRINTK_NMI=y CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13 # CONFIG_PRINTK_TIME is not set CONFIG_PRINT_QUOTA_WARNING=y +CONFIG_PROBE_EVENTS=y # CONFIG_PROCESSOR_SELECT is not set CONFIG_PROC_CHILDREN=y CONFIG_PROC_EVENTS=y @@ -1904,6 +1922,7 @@ CONFIG_PROC_FS=y CONFIG_PROC_PAGE_MONITOR=y CONFIG_PROC_PID_CPUSET=y CONFIG_PROC_SYSCTL=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set # CONFIG_PROFILING is not set # CONFIG_PROVE_LOCKING is not set # CONFIG_PROVE_RCU is not set @@ -1971,6 +1990,9 @@ CONFIG_RETPOLINE=y # CONFIG_RFD_FTL is not set # CONFIG_RFKILL is not set CONFIG_RFS_ACCEL=y +CONFIG_RING_BUFFER=y +# CONFIG_RING_BUFFER_BENCHMARK is not set +# CONFIG_RING_BUFFER_STARTUP_TEST is not set # CONFIG_RMI4_CORE is not set CONFIG_ROMFS_BACKED_BY_BLOCK=y # CONFIG_ROMFS_BACKED_BY_BOTH is not set @@ -2019,6 +2041,7 @@ CONFIG_SCHED_MC_PRIO=y # CONFIG_SCHED_OMIT_FRAME_POINTER is not set CONFIG_SCHED_SMT=y CONFIG_SCHED_STACK_END_CHECK=y +# CONFIG_SCHED_TRACER is not set # CONFIG_SCIF_BUS is not set CONFIG_SCSI=y # CONFIG_SCSI_3W_9XXX is not set @@ -2216,8 +2239,9 @@ CONFIG_SRCU=y # CONFIG_SSB is not set CONFIG_SSB_POSSIBLE=y # CONFIG_SSFDC is not set -# CONFIG_STACKTRACE is not set +CONFIG_STACKTRACE=y CONFIG_STACKTRACE_SUPPORT=y +# CONFIG_STACK_TRACER is not set CONFIG_STACK_VALIDATION=y # CONFIG_STAGING is not set # CONFIG_STANDALONE is not set @@ -2322,8 +2346,14 @@ CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_TMPFS_XATTR=y # CONFIG_TORTURE_TEST is not set +CONFIG_TRACEPOINTS=y +# CONFIG_TRACEPOINT_BENCHMARK is not set +# CONFIG_TRACER_SNAPSHOT is not set +CONFIG_TRACE_CLOCK=y +# CONFIG_TRACE_EVAL_MAP_FILE is not set CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_TRACE_SINK is not set +CONFIG_TRACING=y CONFIG_TRACING_SUPPORT=y # CONFIG_TRANSPARENT_HUGEPAGE is not set CONFIG_TREE_RCU=y @@ -2368,7 +2398,8 @@ CONFIG_UNIX98_PTYS=y CONFIG_UNWINDER_FRAME_POINTER=y # CONFIG_UNWINDER_GUESS is not set # CONFIG_UNWINDER_ORC is not set -# CONFIG_UPROBES is not set +CONFIG_UPROBES=y +CONFIG_UPROBE_EVENTS=y CONFIG_USB_OHCI_LITTLE_ENDIAN=y # CONFIG_USB_SUPPORT is not set # CONFIG_USELIB is not set