All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Wang Nan <wangnan0@huawei.com>
Cc: namhyung@kernel.org, lizefan@huawei.com, pi3orama@163.com,
	linux-kernel@vger.kernel.org, He Kuang <hekuang@huawei.com>
Subject: Re: [PATCH 3/4] perf test: Enforce LLVM test: update basic BPF test program
Date: Wed, 4 Nov 2015 19:23:58 -0300	[thread overview]
Message-ID: <20151104222358.GN13236@kernel.org> (raw)
In-Reply-To: <1446636007-239722-4-git-send-email-wangnan0@huawei.com>

Em Wed, Nov 04, 2015 at 11:20:06AM +0000, Wang Nan escreveu:
> This patch replaces the original toy BPF program with previous introduced
> bpf-script-example.c. Dynamically embedded it into 'llvm-src-base.c'.
> 
> The newly introduced BPF program attaches a BPF program to
> 'sys_epoll_pwait()'. perf itself never use that syscall, so further test
> can verify their result with it. The program would generate 1 sample
> in every 2 calls of epoll_pwait() system call.
> 
> Since the resuling BPF object is useful, test_llvm__fetch_bpf_obj() is
> introduced for creating BPF objects for source. llvm test is rewritten
> according to it.


[acme@zoo linux]$ am /wb/1.patch 
Applying: perf test: Enforce LLVM test: update basic BPF test program
/home/acme/git/linux/.git/rebase-apply/patch:149: space before tab in indent.
 	*p_obj_buf = NULL;
/home/acme/git/linux/.git/rebase-apply/patch:150: space before tab in indent.
 	*p_obj_buf_sz = 0;
error: patch failed: tools/perf/tests/llvm.c:28
error: tools/perf/tests/llvm.c: patch does not apply
Patch failed at 0001 perf test: Enforce LLVM test: update basic BPF test program
The copy of the patch that failed is found in:
   /home/acme/git/linux/.git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
[acme@zoo linux]$ 


  reply	other threads:[~2015-11-04 22:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04 11:20 [PATCH 0/4] perf tools: Improve llvm compiling and test Wang Nan
2015-11-04 11:20 ` [PATCH 1/4] perf tools: Pass available CPU number to clang compiler Wang Nan
2015-11-04 22:09   ` Arnaldo Carvalho de Melo
2015-11-05  1:41     ` Wangnan (F)
2015-11-08  7:29   ` [tip:perf/urgent] perf llvm: Pass number of configured CPUs " tip-bot for Wang Nan
2015-11-04 11:20 ` [PATCH 2/4] perf tools: Pass LINUX_VERSION_CODE to BPF program when compiling Wang Nan
2015-11-04 22:23   ` Arnaldo Carvalho de Melo
2015-11-08  7:30   ` [tip:perf/urgent] perf llvm: " tip-bot for Wang Nan
2015-11-04 11:20 ` [PATCH 3/4] perf test: Enforce LLVM test: update basic BPF test program Wang Nan
2015-11-04 22:23   ` Arnaldo Carvalho de Melo [this message]
2015-11-04 11:20 ` [PATCH 4/4] perf test: Enforce LLVM test: add kbuild test Wang Nan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151104222358.GN13236@kernel.org \
    --to=acme@kernel.org \
    --cc=hekuang@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=namhyung@kernel.org \
    --cc=pi3orama@163.com \
    --cc=wangnan0@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.