diff options
author | John Garry <[email protected]> | 2022-02-21 21:16:48 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-03-22 10:18:29 -0300 |
commit | 4e666cdb06eede2069a7b1a96a1359d1c441a3eb (patch) | |
tree | 3bd56da4cd61f7c43cdaee3dc4725c5dcbc45079 /net/lapb/lapb_in.c | |
parent | cd6382d82752737e43ef3617bb9e72913d2b1d47 (diff) |
perf tools: Fix dependency for version file creation
The version generated by perf may not be correct by just changing the
head commit, like this:
$ git log --pretty=format:"%H" -n 1
b5d9d4708a24ac1889a30e9aedf8af8d73102139
$ perf -v
perf version 5.16.gb5d9d4708a24
$ git reset --hard HEAD^
HEAD is now at 629f520b265f
$ make
...
$ ./perf -v
perf version 5.16.gb5d9d4708a24
The dependency to building PERF-VERSION-FILE should also include ORIG_HEAD,
as this changes when changing the head commit (while HEAD does not).
Signed-off-by: John Garry <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Robert Richter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions