perf tools: Allow overriding sysfs and proc finding with env var
authorCody P Schafer <dev@codyps.com>
Wed, 28 May 2014 00:21:56 +0000 (17:21 -0700)
committerJiri Olsa <jolsa@kernel.org>
Tue, 3 Jun 2014 19:34:29 +0000 (21:34 +0200)
commitf2d9627b2b31506204417bb6842a7ea88970b700
tree3f829a11914629a01008d0ce525f1177cc361e4f
parent16a6433615c14097fd8d406b10ce6393aebb7017
perf tools: Allow overriding sysfs and proc finding with env var

SYSFS_PATH and PROC_PATH environment variables now let the user override
the detection of sysfs and proc locations for testing purposes.

Signed-off-by: Cody P Schafer <dev@codyps.com>
Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1401236684-10579-2-git-send-email-dev@codyps.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/lib/api/fs/fs.c