Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1241227

Re: [PATCH] perf tools: get version from uname(2), not /proc

From Adrian Hunter <adrian.hunter@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf tools: get version from uname(2), not /proc
Date 2015-10-07 10:30 +0200
Message-ID <qgSgO-7JK-3@gated-at.bofh.it> (permalink)
References <qgJwR-3HK-11@gated-at.bofh.it> <qgS78-7ys-15@gated-at.bofh.it>
Organization Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki

Show all headers | View raw


On 07/10/15 11:18, Jiri Olsa wrote:
> On Tue, Oct 06, 2015 at 03:53:14PM -0700, Matt Mullins wrote:
>> Tools in kmod (e.g. modprobe) compose the module path from the release
>> from uname(2).  Because we use the UNAME26 personality, we need perf to
>> find modules located at the same path as the system tools.
> 
> I guess it's easy to google this up, but could you
> please state in the changelog what's the difference
> between the current version and the UNAME26 one?
> 
> Also state (and check) this change wouldn't affect other
> parts of the code that use this version (if there's any).

Isn't the machine root dir for guests? uname() won't work for them.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf tools: get version from uname(2), not /proc Matt Mullins <mmullins@twopensource.com> - 2015-10-07 01:10 +0200
  Re: [PATCH] perf tools: get version from uname(2), not /proc Jiri Olsa <jolsa@redhat.com> - 2015-10-07 10:20 +0200
    Re: [PATCH] perf tools: get version from uname(2), not /proc Adrian Hunter <adrian.hunter@intel.com> - 2015-10-07 10:30 +0200
      Re: [PATCH] perf tools: get version from uname(2), not /proc Matt Mullins <mmullins@twopensource.com> - 2015-10-07 19:20 +0200
        Re: [PATCH] perf tools: get version from uname(2), not /proc Adrian Hunter <adrian.hunter@intel.com> - 2015-10-08 08:30 +0200
  Re: [PATCH] perf tools: get version from uname(2), not /proc Andi Kleen <ak@linux.intel.com> - 2015-10-07 17:40 +0200

csiph-web