lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 3 Jul 2019 07:01:12 -0700
From:   tip-bot for Numfor Mbiziwo-Tiapo <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     mingo@...nel.org, linux-kernel@...r.kernel.org, acme@...hat.com,
        tglx@...utronix.de, eranian@...gle.com, nums@...gle.com,
        hpa@...or.com
Subject: [tip:perf/core] perf tools: Fix cache.h include directive

Commit-ID:  2d7102a0453769fd37e9f4ce68652e104fbf5c84
Gitweb:     https://git.kernel.org/tip/2d7102a0453769fd37e9f4ce68652e104fbf5c84
Author:     Numfor Mbiziwo-Tiapo <nums@...gle.com>
AuthorDate: Thu, 20 Jun 2019 14:54:46 -0700
Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 25 Jun 2019 08:47:09 -0300

perf tools: Fix cache.h include directive

Change the include path so that progress.c can find cache.h since it was
previously searching in the wrong directory.

Committer notes:

  $ ls -la tools/perf/ui/../cache.h
  ls: cannot access 'tools/perf/ui/../cache.h': No such file or directory

So it really should include ../../util/cache.h, or plain cache.h, since
we have -Iutil in INC_FLAGS in tools/perf/Makefile.config

Signed-off-by: Numfor Mbiziwo-Tiapo <nums@...gle.com>
Cc: Jiri Olsa <jolsa@...hat.com>,
Cc: Luke Mujica <lukemujica@...gle.com>,
Cc: Stephane Eranian <eranian@...gle.com>
To: Ian Rogers <irogers@...gle.com>
Link: https://lkml.kernel.org/n/tip-pud8usyutvd2npg2vpsygncz@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 tools/perf/ui/progress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/ui/progress.c b/tools/perf/ui/progress.c
index bbfbc91a0fa4..8cd3b64c6893 100644
--- a/tools/perf/ui/progress.c
+++ b/tools/perf/ui/progress.c
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 #include <linux/kernel.h>
-#include "../cache.h"
+#include "../util/cache.h"
 #include "progress.h"
 
 static void null_progress__update(struct ui_progress *p __maybe_unused)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ