xref: /OK3568_Linux_fs/kernel/tools/perf/Documentation/build-xed.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun
2*4882a593SmuzhiyunFor --xed the xed tool is needed. Here is how to install it:
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun  $ git clone https://github.com/intelxed/mbuild.git mbuild
5*4882a593Smuzhiyun  $ git clone https://github.com/intelxed/xed
6*4882a593Smuzhiyun  $ cd xed
7*4882a593Smuzhiyun  $ ./mfile.py --share
8*4882a593Smuzhiyun  $ ./mfile.py examples
9*4882a593Smuzhiyun  $ sudo ./mfile.py --prefix=/usr/local install
10*4882a593Smuzhiyun  $ sudo ldconfig
11*4882a593Smuzhiyun  $ sudo cp obj/examples/xed /usr/local/bin
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunBasic xed testing:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun  $ xed | head -3
16*4882a593Smuzhiyun  ERROR: required argument(s) were missing
17*4882a593Smuzhiyun  Copyright (C) 2017, Intel Corporation. All rights reserved.
18*4882a593Smuzhiyun  XED version: [v10.0-328-g7d62c8c49b7b]
19*4882a593Smuzhiyun  $
20