lkml.org 
[lkml]   [2015]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] perf: jevents: Program to convert JSON file to C style file
Andi Kleen [ak@linux.intel.com] wrote:
| > pmu-events.c depends only on JSON files relevant to the arch perf is
| > being built on and there could be several JSON files per arch. So it
| > would complicate the Makefiles.
|
| Could just use a wildcard dependency on */$(ARCH)/*.json

Sure, but shouldn't we allow JSON files to be in subdirs

pmu-events/arch/x86/HSX/Haswell_core.json

and this could go to arbitrary levels?

|
| Also it would be good to move the generated file into the object
| directory. I tried it but it needs some more changes to the Makefiles.
|
| -Andi



\
 
 \ /
  Last update: 2015-05-22 20:41    [W:0.069 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site